repo_name
stringlengths
11
64
message
stringlengths
1
3.54k
files
dict
file_tree_before
listlengths
0
1.52k
index
int64
0
2.21k
conversations
listlengths
2
2
gmrdaniel/grm-meta
Integrate update_profile_full_name function This commit integrates the Supabase Database Function `update_profile_full_name` to update the `profiles.full_name` field based on data from `personal_data.first_name`.
{ "changed": [ "src/pages/admin/Utilities.tsx" ], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "onSubmit" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesList", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
291
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nIntegrate update_profile_full_name function\n\nThis commit integrates the Supabase Database Function `update_profile_full_name` to update the `profiles.full_name` field based on data from `personal_data.first_name`.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/pages/admin/Utilities.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Run SQL script The SQL script has been reviewed and executed.
{ "changed": [ "src/integrations/supabase/types.ts" ], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "onSubmit" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesList", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
292
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nRun SQL script\n\nThe SQL script has been reviewed and executed.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/integrations/supabase/types.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Implement rates list filters Adds a search button to apply filters and implements pagination with options for 10, 25, and 50 results per page.
{ "changed": [ "src/components/creator-rates/RatesList.tsx" ], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "onSubmit" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesList", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
293
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nImplement rates list filters\n\nAdds a search button to apply filters and implements pagination with options for 10, 25, and 50 results per page.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/components/creator-rates/RatesList.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Fix: "invalid input syntax for type uuid" error The "invalid input syntax for type uuid: \"todas\"" error on the /admin/rates page has been addressed. The fix ensures correct handling of UUIDs when loading existing rates.
{ "changed": [ "src/components/creator-rates/RatesList.tsx" ], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "onSubmit" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesList", "handleSearch", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
294
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nFix: \"invalid input syntax for type uuid\" error\n\nThe \"invalid input syntax for type uuid: \\\"todas\\\"\" error on the /admin/rates page has been addressed. The fix ensures correct handling of UUIDs when loading existing rates.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleSearch\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/components/creator-rates/RatesList.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Refactor RatesList component Refactored `src/components/creator-rates/RatesList.tsx` into smaller files to improve maintainability. Removed unused imports and files.
{ "changed": [ "src/components/creator-rates/RatesList.tsx" ], "created": [ "src/components/creator-rates/components/Filters.tsx", "src/components/creator-rates/components/RatesTable.tsx", "src/components/creator-rates/hooks/useRatesData.ts", "src/components/creator-rates/types.ts" ], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "onSubmit" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesList", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
295
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nRefactor RatesList component\n\nRefactored `src/components/creator-rates/RatesList.tsx` into smaller files to improve maintainability. Removed unused imports and files.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/components/creator-rates/RatesList.tsx\"\n ],\n \"created\": [\n \"src/components/creator-rates/components/Filters.tsx\",\n \"src/components/creator-rates/components/RatesTable.tsx\",\n \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"src/components/creator-rates/types.ts\"\n ],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Run SQL script The SQL script has been reviewed and executed.
{ "changed": [ "src/integrations/supabase/types.ts", "src/pages/admin/CreatorRates.tsx" ], "created": [ "src/components/creator-rates/RatesImportTab.tsx", "src/components/creator-rates/components/RatesImportPreview.tsx" ], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "onSubmit" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
296
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nRun SQL script\n\nThe SQL script has been reviewed and executed.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/integrations/supabase/types.ts\",\n \"src/pages/admin/CreatorRates.tsx\"\n ],\n \"created\": [\n \"src/components/creator-rates/RatesImportTab.tsx\",\n \"src/components/creator-rates/components/RatesImportPreview.tsx\"\n ],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Add template download button Adds a button to download a template for importing creator rates. This addresses the request to provide a downloadable template for easier data entry before uploading rates.
{ "changed": [ "src/components/creator-rates/RatesImportTab.tsx" ], "created": [ "src/components/creator-rates/components/DownloadRatesTemplate.tsx" ], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "onSubmit" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
297
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nAdd template download button\n\nAdds a button to download a template for importing creator rates. This addresses the request to provide a downloadable template for easier data entry before uploading rates.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/components/creator-rates/RatesImportTab.tsx\"\n ],\n \"created\": [\n \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\"\n ],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Fix: Rates import error The rates import process was failing. This commit addresses an error encountered when importing rates.
{ "changed": [ "src/components/creator-rates/RatesImportTab.tsx", "src/components/creator-rates/components/RatesImportPreview.tsx" ], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "onSubmit" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
298
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nFix: Rates import error\n\nThe rates import process was failing. This commit addresses an error encountered when importing rates.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/components/creator-rates/RatesImportTab.tsx\",\n \"src/components/creator-rates/components/RatesImportPreview.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Adjust Creator Rates view Adjusted the admin/rates view to display profile full name, email, and Instagram username.
{ "changed": [ "src/components/creator-rates/components/RatesTable.tsx", "src/components/creator-rates/hooks/useRatesData.ts", "src/components/creator-rates/types.ts" ], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "onSubmit" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
299
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nAdjust Creator Rates view\n\nAdjusted the admin/rates view to display profile full name, email, and Instagram username.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/components/creator-rates/components/RatesTable.tsx\",\n \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"src/components/creator-rates/types.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Merge pull request #10 from gmrdaniel/admin-creadores Admin creadores
{ "changed": [], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "onSubmit" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
300
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nMerge pull request #10 from gmrdaniel/admin-creadores\n\nAdmin creadores\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Run SQL script This commit executes a previously reviewed SQL script.
{ "changed": [ "src/integrations/supabase/types.ts" ], "created": [ "src/components/audit/AuditLogsFilters.tsx", "src/components/audit/AuditLogsTable.tsx", "src/components/audit/types.ts", "src/hooks/useAuditLogs.ts", "src/pages/admin/AuditLogs.tsx" ], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "onSubmit" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
301
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nRun SQL script\n\nThis commit executes a previously reviewed SQL script.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/integrations/supabase/types.ts\"\n ],\n \"created\": [\n \"src/components/audit/AuditLogsFilters.tsx\",\n \"src/components/audit/AuditLogsTable.tsx\",\n \"src/components/audit/types.ts\",\n \"src/hooks/useAuditLogs.ts\",\n \"src/pages/admin/AuditLogs.tsx\"\n ],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Fix: Audit logs table data The commit addresses issues related to data retrieval and type definitions for the audit logs table. It ensures a proper database relationship between `audit_logs` and `profiles` tables, verifies the data query, and updates type definitions to reflect the returned data structure. Handles cases where `profile.full_name` might be null.
{ "changed": [ "src/components/audit/types.ts", "src/components/creator-rates/types.ts", "src/hooks/useAuditLogs.ts" ], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "onSubmit" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "handleExport" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
302
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nFix: Audit logs table data\n\nThe commit addresses issues related to data retrieval and type definitions for the audit logs table. It ensures a proper database relationship between `audit_logs` and `profiles` tables, verifies the data query, and updates type definitions to reflect the returned data structure. Handles cases where `profile.full_name` might be null.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/components/audit/types.ts\",\n \"src/components/creator-rates/types.ts\",\n \"src/hooks/useAuditLogs.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Add audit logs page Added a route for the audit logs page and a corresponding navigation link in the admin sidebar.
{ "changed": [ "src/App.tsx", "src/components/sidebar/navigation-items.tsx" ], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "onSubmit" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "handleExport" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
303
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nAdd audit logs page\n\nAdded a route for the audit logs page and a corresponding navigation link in the admin sidebar.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/App.tsx\",\n \"src/components/sidebar/navigation-items.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Fix: Handle empty string values in SelectItem The Select component was throwing an error when a SelectItem had an empty string value. This commit addresses the issue by ensuring that all SelectItems have a non-empty string value. This allows for cases like "Not assigned" or "Select an option" to be handled correctly.
{ "changed": [ "src/components/creator-rates/components/Filters.tsx", "src/components/services/form-sections/ServiceTypeField.tsx" ], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "onSubmit" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "handleExport" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
304
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nFix: Handle empty string values in SelectItem\n\nThe Select component was throwing an error when a SelectItem had an empty string value. This commit addresses the issue by ensuring that all SelectItems have a non-empty string value. This allows for cases like \"Not assigned\" or \"Select an option\" to be handled correctly.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/components/creator-rates/components/Filters.tsx\",\n \"src/components/services/form-sections/ServiceTypeField.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Fix: Select Item value prop The Select component in the admin/audit-logs page was throwing an error because a Select.Item was missing a value prop or had an empty string value. This commit addresses the issue.
{ "changed": [ "src/components/audit/AuditLogsFilters.tsx" ], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "onSubmit" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "handleExport" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
305
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nFix: Select Item value prop\n\nThe Select component in the admin/audit-logs page was throwing an error because a Select.Item was missing a value prop or had an empty string value. This commit addresses the issue.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/components/audit/AuditLogsFilters.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Reverted to edit edt-eefcf04a-2fd0-4b24-bf3a-dd5a85a0d3e4: "Run SQL script This commit executes a previously reviewed SQL script."
{ "changed": [ "src/App.tsx", "src/components/audit/AuditLogsFilters.tsx", "src/components/audit/types.ts", "src/components/creator-rates/components/Filters.tsx", "src/components/creator-rates/types.ts", "src/components/services/form-sections/ServiceTypeField.tsx", "src/components/sidebar/navigation-items.tsx", "src/hooks/useAuditLogs.ts" ], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "onSubmit" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "handleExport" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
306
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nReverted to edit edt-eefcf04a-2fd0-4b24-bf3a-dd5a85a0d3e4: \"Run SQL script\n\nThis commit executes a previously reviewed SQL script.\"\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/App.tsx\",\n \"src/components/audit/AuditLogsFilters.tsx\",\n \"src/components/audit/types.ts\",\n \"src/components/creator-rates/components/Filters.tsx\",\n \"src/components/creator-rates/types.ts\",\n \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"src/components/sidebar/navigation-items.tsx\",\n \"src/hooks/useAuditLogs.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Implement audit logging system This commit implements a comprehensive audit logging system to track administrator actions. The system includes database schema changes, automatic logging of key actions across various modules, an admin interface for querying audit logs with filtering and export capabilities, and a backend function for reverting payments with corresponding audit log updates. Security considerations regarding access control and data integrity are addressed.
{ "changed": [ "src/integrations/supabase/types.ts" ], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "onSubmit" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "handleExport" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
307
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nImplement audit logging system\n\nThis commit implements a comprehensive audit logging system to track administrator actions. The system includes database schema changes, automatic logging of key actions across various modules, an admin interface for querying audit logs with filtering and export capabilities, and a backend function for reverting payments with corresponding audit log updates. Security considerations regarding access control and data integrity are addressed.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/integrations/supabase/types.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Run SQL script This commit executes a previously reviewed SQL script.
{ "changed": [ "src/integrations/supabase/types.ts" ], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "onSubmit" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "handleExport" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
308
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nRun SQL script\n\nThis commit executes a previously reviewed SQL script.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/integrations/supabase/types.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Fix type errors in AuditLogsTable and RatesList The commit addresses type errors in `AuditLogsTable.tsx` related to missing `admin` and `reverter` properties in the `AuditLog` type and a type mismatch in `RatesList.tsx` concerning the `personal_data` property within the `Rate` type. The changes ensure correct type definitions and compatibility.
{ "changed": [ "src/components/audit/types.ts", "src/components/creator-rates/types.ts" ], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "onSubmit" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "handleExport" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
309
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nFix type errors in AuditLogsTable and RatesList\n\nThe commit addresses type errors in `AuditLogsTable.tsx` related to missing `admin` and `reverter` properties in the `AuditLog` type and a type mismatch in `RatesList.tsx` concerning the `personal_data` property within the `Rate` type. The changes ensure correct type definitions and compatibility.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/components/audit/types.ts\",\n \"src/components/creator-rates/types.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Add AuditLog to service-payments The admin/service-payments interface will now log "generate monthly pending payments" and payment edits to the AuditLog. Each edit will generate a new log entry.
{ "changed": [ "src/components/payments/ServicePaymentUpdateForm.tsx", "src/pages/admin/ServicePayments.tsx" ], "created": [ "src/hooks/useAuth.tsx" ], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "onSubmit" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "handleExport" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
310
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nAdd AuditLog to service-payments\n\nThe admin/service-payments interface will now log \"generate monthly pending payments\" and payment edits to the AuditLog. Each edit will generate a new log entry.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"src/pages/admin/ServicePayments.tsx\"\n ],\n \"created\": [\n \"src/hooks/useAuth.tsx\"\n ],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Fix: Missing audit log entry The audit log is missing an entry for a payment update. This commit addresses this issue.
{ "changed": [ "src/components/payments/ServicePaymentUpdateForm.tsx", "src/hooks/useAuth.tsx", "src/pages/admin/ServicePayments.tsx" ], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "onSubmit" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "handleExport" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
311
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nFix: Missing audit log entry\n\nThe audit log is missing an entry for a payment update. This commit addresses this issue.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"src/hooks/useAuth.tsx\",\n \"src/pages/admin/ServicePayments.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Fix: Audit log not recording changes The audit log is not recording changes made in the admin/service-payments section. This commit aims to resolve this issue.
{ "changed": [ "src/components/payments/ServicePaymentUpdateForm.tsx" ], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "onSubmit" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "handleExport" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
312
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nFix: Audit log not recording changes\n\nThe audit log is not recording changes made in the admin/service-payments section. This commit aims to resolve this issue.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/components/payments/ServicePaymentUpdateForm.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Fix: Resolve Supabase property access The supabaseUrl and supabaseKey properties were accessed directly, which is not allowed as they are protected. Modified the code to use the appropriate methods for accessing Supabase functionality.
{ "changed": [ "src/components/payments/ServicePaymentUpdateForm.tsx" ], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "onSubmit" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "handleExport" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
313
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nFix: Resolve Supabase property access\n\nThe supabaseUrl and supabaseKey properties were accessed directly, which is not allowed as they are protected. Modified the code to use the appropriate methods for accessing Supabase functionality.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/components/payments/ServicePaymentUpdateForm.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Refactor Payment Update Form Refactored `ServicePaymentUpdateForm.tsx` into smaller files to improve maintainability. No functionality was broken.
{ "changed": [ "src/components/payments/ServicePaymentUpdateForm.tsx" ], "created": [ "src/components/payments/update-form/AmountFields.tsx", "src/components/payments/update-form/FormActions.tsx", "src/components/payments/update-form/PaymentFormSchema.ts", "src/components/payments/update-form/PaymentMonthField.tsx", "src/components/payments/update-form/PaymentReceiptField.tsx", "src/components/payments/update-form/PaymentStatusFields.tsx", "src/components/payments/update-form/useAuditLog.ts", "src/components/payments/update-form/usePaymentUpdate.ts" ], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "onSubmit" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "handleExport" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
314
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nRefactor Payment Update Form\n\nRefactored `ServicePaymentUpdateForm.tsx` into smaller files to improve maintainability. No functionality was broken.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/components/payments/ServicePaymentUpdateForm.tsx\"\n ],\n \"created\": [\n \"src/components/payments/update-form/AmountFields.tsx\",\n \"src/components/payments/update-form/FormActions.tsx\",\n \"src/components/payments/update-form/PaymentFormSchema.ts\",\n \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"src/components/payments/update-form/useAuditLog.ts\",\n \"src/components/payments/update-form/usePaymentUpdate.ts\"\n ],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Implement audit log functionality Implements a function to insert records into the audit_log table when a service_payment record is modified. Includes user permission checks and debugging logs.
{ "changed": [ "src/components/payments/update-form/FormActions.tsx", "src/components/payments/update-form/PaymentFormSchema.ts", "src/components/payments/update-form/useAuditLog.ts", "src/components/payments/update-form/usePaymentUpdate.ts" ], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/payments/update-form/FormActions.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/payments/update-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "AmountFields" ], "keys": null, "path": "src/components/payments/update-form/AmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/payments/update-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/payments/update-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "useAuditLog", "createAuditLog" ], "keys": null, "path": "src/components/payments/update-form/useAuditLog.ts", "selectors": null }, { "functions": [ "usePaymentUpdate", "handleSubmit" ], "keys": null, "path": "src/components/payments/update-form/usePaymentUpdate.ts", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "handleExport" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
315
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nImplement audit log functionality\n\nImplements a function to insert records into the audit_log table when a service_payment record is modified. Includes user permission checks and debugging logs.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/AmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLog\",\n \"createAuditLog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/useAuditLog.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePaymentUpdate\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/components/payments/update-form/FormActions.tsx\",\n \"src/components/payments/update-form/PaymentFormSchema.ts\",\n \"src/components/payments/update-form/useAuditLog.ts\",\n \"src/components/payments/update-form/usePaymentUpdate.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Refactor payment update form This commit addresses type compatibility issues, avoids unnecessary use of `any`, and configures environment variables appropriately. It also includes refactoring to address potential issues with accessing protected properties.
{ "changed": [ "src/components/payments/update-form/PaymentFormSchema.ts", "src/components/payments/update-form/useAuditLog.ts" ], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/payments/update-form/FormActions.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/payments/update-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "AmountFields" ], "keys": null, "path": "src/components/payments/update-form/AmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/payments/update-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/payments/update-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "useAuditLog", "createAuditLog", "fallbackDirectFetch" ], "keys": null, "path": "src/components/payments/update-form/useAuditLog.ts", "selectors": null }, { "functions": [ "usePaymentUpdate", "handleSubmit" ], "keys": null, "path": "src/components/payments/update-form/usePaymentUpdate.ts", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "handleExport" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
316
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nRefactor payment update form\n\nThis commit addresses type compatibility issues, avoids unnecessary use of `any`, and configures environment variables appropriately. It also includes refactoring to address potential issues with accessing protected properties.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/AmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLog\",\n \"createAuditLog\",\n \"fallbackDirectFetch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/useAuditLog.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePaymentUpdate\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/components/payments/update-form/PaymentFormSchema.ts\",\n \"src/components/payments/update-form/useAuditLog.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Add audit log card Adds a card to the admin/utilities page to display recent system audit logs. A button will allow viewing details of the logs.
{ "changed": [ "src/pages/admin/Utilities.tsx" ], "created": [ "src/components/system/SystemLogsCard.tsx" ], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/payments/update-form/FormActions.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/payments/update-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "AmountFields" ], "keys": null, "path": "src/components/payments/update-form/AmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/payments/update-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/payments/update-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "useAuditLog", "createAuditLog", "fallbackDirectFetch" ], "keys": null, "path": "src/components/payments/update-form/useAuditLog.ts", "selectors": null }, { "functions": [ "usePaymentUpdate", "handleSubmit" ], "keys": null, "path": "src/components/payments/update-form/usePaymentUpdate.ts", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "handleExport" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
317
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nAdd audit log card\n\nAdds a card to the admin/utilities page to display recent system audit logs. A button will allow viewing details of the logs.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/AmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLog\",\n \"createAuditLog\",\n \"fallbackDirectFetch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/useAuditLog.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePaymentUpdate\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/pages/admin/Utilities.tsx\"\n ],\n \"created\": [\n \"src/components/system/SystemLogsCard.tsx\"\n ],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
feat: Add system logs card This commit adds a card displaying recent system logs. The card will show details of recent system activity.
{ "changed": [ "src/components/system/SystemLogsCard.tsx" ], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "SystemLogsCard", "fetchLogs", "getActionTypeColor", "getModuleIcon", "formatDate" ], "keys": null, "path": "src/components/system/SystemLogsCard.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/payments/update-form/FormActions.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/payments/update-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "AmountFields" ], "keys": null, "path": "src/components/payments/update-form/AmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/payments/update-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/payments/update-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "useAuditLog", "createAuditLog", "fallbackDirectFetch" ], "keys": null, "path": "src/components/payments/update-form/useAuditLog.ts", "selectors": null }, { "functions": [ "usePaymentUpdate", "handleSubmit" ], "keys": null, "path": "src/components/payments/update-form/usePaymentUpdate.ts", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "handleExport" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
318
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nfeat: Add system logs card\n\nThis commit adds a card displaying recent system logs. The card will show details of recent system activity.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SystemLogsCard\",\n \"fetchLogs\",\n \"getActionTypeColor\",\n \"getModuleIcon\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/system/SystemLogsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/AmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLog\",\n \"createAuditLog\",\n \"fallbackDirectFetch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/useAuditLog.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePaymentUpdate\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/components/system/SystemLogsCard.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Fix: Audit log user ID retrieval The audit log user ID was not being retrieved correctly. This commit addresses the issue of undefined user IDs when attempting to save audit logs. Potential solutions to reliably save logs are explored.
{ "changed": [ "src/components/payments/ServicePaymentUpdateForm.tsx", "src/components/payments/update-form/useAuditLog.ts", "src/components/payments/update-form/usePaymentUpdate.ts" ], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "SystemLogsCard", "fetchLogs", "getActionTypeColor", "getModuleIcon", "formatDate" ], "keys": null, "path": "src/components/system/SystemLogsCard.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/payments/update-form/FormActions.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/payments/update-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "AmountFields" ], "keys": null, "path": "src/components/payments/update-form/AmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/payments/update-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/payments/update-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "useAuditLog", "createAuditLog", "fallbackDirectFetch" ], "keys": null, "path": "src/components/payments/update-form/useAuditLog.ts", "selectors": null }, { "functions": [ "usePaymentUpdate", "handleSubmit" ], "keys": null, "path": "src/components/payments/update-form/usePaymentUpdate.ts", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "handleExport" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
319
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nFix: Audit log user ID retrieval\n\nThe audit log user ID was not being retrieved correctly. This commit addresses the issue of undefined user IDs when attempting to save audit logs. Potential solutions to reliably save logs are explored.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SystemLogsCard\",\n \"fetchLogs\",\n \"getActionTypeColor\",\n \"getModuleIcon\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/system/SystemLogsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/AmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLog\",\n \"createAuditLog\",\n \"fallbackDirectFetch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/useAuditLog.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePaymentUpdate\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"src/components/payments/update-form/useAuditLog.ts\",\n \"src/components/payments/update-form/usePaymentUpdate.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Fix: Correct audit log relationship The commit corrects the relationship name used when fetching audit logs in the admin/utilities section. The correct relationship name is now specified manually in the query.
{ "changed": [ "src/components/system/SystemLogsCard.tsx" ], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "SystemLogsCard", "fetchLogs", "getActionTypeColor", "getModuleIcon", "formatDate" ], "keys": null, "path": "src/components/system/SystemLogsCard.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/payments/update-form/FormActions.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/payments/update-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "checkSession" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "AmountFields" ], "keys": null, "path": "src/components/payments/update-form/AmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/payments/update-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/payments/update-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "useAuditLog", "getUserId", "createAuditLog", "fallbackDirectFetch" ], "keys": null, "path": "src/components/payments/update-form/useAuditLog.ts", "selectors": null }, { "functions": [ "usePaymentUpdate", "handleSubmit" ], "keys": null, "path": "src/components/payments/update-form/usePaymentUpdate.ts", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "handleExport" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
320
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nFix: Correct audit log relationship\n\nThe commit corrects the relationship name used when fetching audit logs in the admin/utilities section. The correct relationship name is now specified manually in the query.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SystemLogsCard\",\n \"fetchLogs\",\n \"getActionTypeColor\",\n \"getModuleIcon\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/system/SystemLogsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"checkSession\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/AmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLog\",\n \"getUserId\",\n \"createAuditLog\",\n \"fallbackDirectFetch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/useAuditLog.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePaymentUpdate\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/components/system/SystemLogsCard.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Add audit log reversibility This commit adds a visual indicator to the UI showing whether an audit log entry is reversible or not. It also adds the functionality to reverse the action if it is reversible.
{ "changed": [ "src/components/system/SystemLogsCard.tsx" ], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "SystemLogsCard", "fetchLogs", "getActionTypeColor", "getModuleIcon", "formatDate" ], "keys": null, "path": "src/components/system/SystemLogsCard.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/payments/update-form/FormActions.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/payments/update-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "checkSession" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "AmountFields" ], "keys": null, "path": "src/components/payments/update-form/AmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/payments/update-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/payments/update-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "useAuditLog", "getUserId", "createAuditLog", "fallbackDirectFetch" ], "keys": null, "path": "src/components/payments/update-form/useAuditLog.ts", "selectors": null }, { "functions": [ "usePaymentUpdate", "handleSubmit" ], "keys": null, "path": "src/components/payments/update-form/usePaymentUpdate.ts", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "handleExport" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
321
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nAdd audit log reversibility\n\nThis commit adds a visual indicator to the UI showing whether an audit log entry is reversible or not. It also adds the functionality to reverse the action if it is reversible.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SystemLogsCard\",\n \"fetchLogs\",\n \"getActionTypeColor\",\n \"getModuleIcon\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/system/SystemLogsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"checkSession\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/AmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLog\",\n \"getUserId\",\n \"createAuditLog\",\n \"fallbackDirectFetch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/useAuditLog.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePaymentUpdate\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/components/system/SystemLogsCard.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Add password recovery feature This commit introduces a password recovery feature for 'creator' role users.
{ "changed": [ "src/pages/Auth.tsx" ], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "SystemLogsCard", "fetchLogs", "revertLog", "getActionTypeColor", "getModuleIcon", "formatDate" ], "keys": null, "path": "src/components/system/SystemLogsCard.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/payments/update-form/FormActions.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/payments/update-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "checkSession" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "AmountFields" ], "keys": null, "path": "src/components/payments/update-form/AmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/payments/update-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/payments/update-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "useAuditLog", "getUserId", "createAuditLog", "fallbackDirectFetch" ], "keys": null, "path": "src/components/payments/update-form/useAuditLog.ts", "selectors": null }, { "functions": [ "usePaymentUpdate", "handleSubmit" ], "keys": null, "path": "src/components/payments/update-form/usePaymentUpdate.ts", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "handleExport" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
322
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nAdd password recovery feature\n\nThis commit introduces a password recovery feature for 'creator' role users.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SystemLogsCard\",\n \"fetchLogs\",\n \"revertLog\",\n \"getActionTypeColor\",\n \"getModuleIcon\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/system/SystemLogsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"checkSession\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/AmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLog\",\n \"getUserId\",\n \"createAuditLog\",\n \"fallbackDirectFetch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/useAuditLog.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePaymentUpdate\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/pages/Auth.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Add Admin Audit Logs page Adds a new page for viewing audit logs to the admin section. The new page will be accessible through the admin menu.
{ "changed": [ "src/components/sidebar/navigation-items.tsx" ], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "SystemLogsCard", "fetchLogs", "revertLog", "getActionTypeColor", "getModuleIcon", "formatDate" ], "keys": null, "path": "src/components/system/SystemLogsCard.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/payments/update-form/FormActions.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/payments/update-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "checkSession" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "AmountFields" ], "keys": null, "path": "src/components/payments/update-form/AmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/payments/update-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/payments/update-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "useAuditLog", "getUserId", "createAuditLog", "fallbackDirectFetch" ], "keys": null, "path": "src/components/payments/update-form/useAuditLog.ts", "selectors": null }, { "functions": [ "usePaymentUpdate", "handleSubmit" ], "keys": null, "path": "src/components/payments/update-form/usePaymentUpdate.ts", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "handleExport" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
323
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nAdd Admin Audit Logs page\n\nAdds a new page for viewing audit logs to the admin section. The new page will be accessible through the admin menu.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SystemLogsCard\",\n \"fetchLogs\",\n \"revertLog\",\n \"getActionTypeColor\",\n \"getModuleIcon\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/system/SystemLogsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"checkSession\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/AmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLog\",\n \"getUserId\",\n \"createAuditLog\",\n \"fallbackDirectFetch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/useAuditLog.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePaymentUpdate\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/components/sidebar/navigation-items.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Update Creator Services data query This commit updates the query used to fetch data for the admin/creator-services page. The new query includes additional fields for improved data display.
{ "changed": [ "src/components/creator-services/CreatorServicesTableContent.tsx", "src/components/creator-services/hooks/useCreatorServices.ts" ], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "SystemLogsCard", "fetchLogs", "revertLog", "getActionTypeColor", "getModuleIcon", "formatDate" ], "keys": null, "path": "src/components/system/SystemLogsCard.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/payments/update-form/FormActions.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/payments/update-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "checkSession" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "AmountFields" ], "keys": null, "path": "src/components/payments/update-form/AmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/payments/update-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/payments/update-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "useAuditLog", "getUserId", "createAuditLog", "fallbackDirectFetch" ], "keys": null, "path": "src/components/payments/update-form/useAuditLog.ts", "selectors": null }, { "functions": [ "usePaymentUpdate", "handleSubmit" ], "keys": null, "path": "src/components/payments/update-form/usePaymentUpdate.ts", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "handleExport" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
324
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nUpdate Creator Services data query\n\nThis commit updates the query used to fetch data for the admin/creator-services page. The new query includes additional fields for improved data display.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SystemLogsCard\",\n \"fetchLogs\",\n \"revertLog\",\n \"getActionTypeColor\",\n \"getModuleIcon\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/system/SystemLogsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"checkSession\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/AmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLog\",\n \"getUserId\",\n \"createAuditLog\",\n \"fallbackDirectFetch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/useAuditLog.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePaymentUpdate\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"src/components/creator-services/hooks/useCreatorServices.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Fix: Creator services table and data fetching The commit addresses type errors in `CreatorServicesTable.tsx` related to the `CreatorService` type and fixes errors in `useCreatorServices.ts` related to data fetching and filtering. The changes ensure correct data types and successful data retrieval from the database.
{ "changed": [ "src/components/creator-services/CreatorServicesTableContent.tsx", "src/components/creator-services/hooks/useCreatorServices.ts" ], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "SystemLogsCard", "fetchLogs", "revertLog", "getActionTypeColor", "getModuleIcon", "formatDate" ], "keys": null, "path": "src/components/system/SystemLogsCard.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/payments/update-form/FormActions.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/payments/update-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "checkSession" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "AmountFields" ], "keys": null, "path": "src/components/payments/update-form/AmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/payments/update-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/payments/update-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "useAuditLog", "getUserId", "createAuditLog", "fallbackDirectFetch" ], "keys": null, "path": "src/components/payments/update-form/useAuditLog.ts", "selectors": null }, { "functions": [ "usePaymentUpdate", "handleSubmit" ], "keys": null, "path": "src/components/payments/update-form/usePaymentUpdate.ts", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "handleExport" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
325
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nFix: Creator services table and data fetching\n\nThe commit addresses type errors in `CreatorServicesTable.tsx` related to the `CreatorService` type and fixes errors in `useCreatorServices.ts` related to data fetching and filtering. The changes ensure correct data types and successful data retrieval from the database.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SystemLogsCard\",\n \"fetchLogs\",\n \"revertLog\",\n \"getActionTypeColor\",\n \"getModuleIcon\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/system/SystemLogsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"checkSession\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/AmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLog\",\n \"getUserId\",\n \"createAuditLog\",\n \"fallbackDirectFetch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/useAuditLog.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePaymentUpdate\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"src/components/creator-services/hooks/useCreatorServices.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Fix: Type error in `useCreatorServices` The type definition for the `useCreatorServices` hook was incorrect, causing a type error when handling potential errors from the Supabase query. This commit addresses the type error by correctly handling the error case in the `useQuery` hook.
{ "changed": [ "src/components/creator-services/hooks/useCreatorServices.ts" ], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "SystemLogsCard", "fetchLogs", "revertLog", "getActionTypeColor", "getModuleIcon", "formatDate" ], "keys": null, "path": "src/components/system/SystemLogsCard.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/payments/update-form/FormActions.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/payments/update-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "checkSession" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "AmountFields" ], "keys": null, "path": "src/components/payments/update-form/AmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/payments/update-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/payments/update-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "useAuditLog", "getUserId", "createAuditLog", "fallbackDirectFetch" ], "keys": null, "path": "src/components/payments/update-form/useAuditLog.ts", "selectors": null }, { "functions": [ "usePaymentUpdate", "handleSubmit" ], "keys": null, "path": "src/components/payments/update-form/usePaymentUpdate.ts", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "handleExport" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
326
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nFix: Type error in `useCreatorServices`\n\nThe type definition for the `useCreatorServices` hook was incorrect, causing a type error when handling potential errors from the Supabase query. This commit addresses the type error by correctly handling the error case in the `useQuery` hook.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SystemLogsCard\",\n \"fetchLogs\",\n \"revertLog\",\n \"getActionTypeColor\",\n \"getModuleIcon\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/system/SystemLogsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"checkSession\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/AmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLog\",\n \"getUserId\",\n \"createAuditLog\",\n \"fallbackDirectFetch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/useAuditLog.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePaymentUpdate\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/components/creator-services/hooks/useCreatorServices.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Fix: Display "linguana" in service name The service name "linguana" was not being displayed correctly. This commit addresses this issue.
{ "changed": [ "src/components/creator-services/hooks/useCreatorServices.ts" ], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "SystemLogsCard", "fetchLogs", "revertLog", "getActionTypeColor", "getModuleIcon", "formatDate" ], "keys": null, "path": "src/components/system/SystemLogsCard.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/payments/update-form/FormActions.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/payments/update-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "checkSession" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "AmountFields" ], "keys": null, "path": "src/components/payments/update-form/AmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/payments/update-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/payments/update-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "useAuditLog", "getUserId", "createAuditLog", "fallbackDirectFetch" ], "keys": null, "path": "src/components/payments/update-form/useAuditLog.ts", "selectors": null }, { "functions": [ "usePaymentUpdate", "handleSubmit" ], "keys": null, "path": "src/components/payments/update-form/usePaymentUpdate.ts", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "handleExport" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
327
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nFix: Display \"linguana\" in service name\n\nThe service name \"linguana\" was not being displayed correctly. This commit addresses this issue.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SystemLogsCard\",\n \"fetchLogs\",\n \"revertLog\",\n \"getActionTypeColor\",\n \"getModuleIcon\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/system/SystemLogsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"checkSession\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/AmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLog\",\n \"getUserId\",\n \"createAuditLog\",\n \"fallbackDirectFetch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/useAuditLog.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePaymentUpdate\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/components/creator-services/hooks/useCreatorServices.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Fix: Handle null services in query The query for creator services sometimes returns null for the `services` field. This commit addresses this issue.
{ "changed": [ "src/components/creator-services/hooks/useCreatorServices.ts" ], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "SystemLogsCard", "fetchLogs", "revertLog", "getActionTypeColor", "getModuleIcon", "formatDate" ], "keys": null, "path": "src/components/system/SystemLogsCard.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/payments/update-form/FormActions.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/payments/update-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "checkSession" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "AmountFields" ], "keys": null, "path": "src/components/payments/update-form/AmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/payments/update-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/payments/update-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "useAuditLog", "getUserId", "createAuditLog", "fallbackDirectFetch" ], "keys": null, "path": "src/components/payments/update-form/useAuditLog.ts", "selectors": null }, { "functions": [ "usePaymentUpdate", "handleSubmit" ], "keys": null, "path": "src/components/payments/update-form/usePaymentUpdate.ts", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "handleExport" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
328
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nFix: Handle null services in query\n\nThe query for creator services sometimes returns null for the `services` field. This commit addresses this issue.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SystemLogsCard\",\n \"fetchLogs\",\n \"revertLog\",\n \"getActionTypeColor\",\n \"getModuleIcon\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/system/SystemLogsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"checkSession\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/AmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLog\",\n \"getUserId\",\n \"createAuditLog\",\n \"fallbackDirectFetch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/useAuditLog.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePaymentUpdate\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/components/creator-services/hooks/useCreatorServices.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Fix: 404 error on /admin/audit-logs Fixes a 404 error that occurs when loading the `/admin/audit-logs` route.
{ "changed": [ "src/App.tsx", "src/pages/NotFound.tsx", "src/pages/admin/AuditLogs.tsx" ], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "SystemLogsCard", "fetchLogs", "revertLog", "getActionTypeColor", "getModuleIcon", "formatDate" ], "keys": null, "path": "src/components/system/SystemLogsCard.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/payments/update-form/FormActions.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/payments/update-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "checkSession" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "AmountFields" ], "keys": null, "path": "src/components/payments/update-form/AmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/payments/update-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/payments/update-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "useAuditLog", "getUserId", "createAuditLog", "fallbackDirectFetch" ], "keys": null, "path": "src/components/payments/update-form/useAuditLog.ts", "selectors": null }, { "functions": [ "usePaymentUpdate", "handleSubmit" ], "keys": null, "path": "src/components/payments/update-form/usePaymentUpdate.ts", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "handleExport" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
329
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nFix: 404 error on /admin/audit-logs\n\nFixes a 404 error that occurs when loading the `/admin/audit-logs` route.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SystemLogsCard\",\n \"fetchLogs\",\n \"revertLog\",\n \"getActionTypeColor\",\n \"getModuleIcon\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/system/SystemLogsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"checkSession\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/AmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLog\",\n \"getUserId\",\n \"createAuditLog\",\n \"fallbackDirectFetch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/useAuditLog.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePaymentUpdate\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/App.tsx\",\n \"src/pages/NotFound.tsx\",\n \"src/pages/admin/AuditLogs.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Add audit logs menu item Add a menu item for the `/admin/audit-logs` page, similar to other admin pages.
{ "changed": [ "src/pages/admin/AuditLogs.tsx" ], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound", "isAdminPath" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "SystemLogsCard", "fetchLogs", "revertLog", "getActionTypeColor", "getModuleIcon", "formatDate" ], "keys": null, "path": "src/components/system/SystemLogsCard.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/payments/update-form/FormActions.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/payments/update-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "checkSession" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "AmountFields" ], "keys": null, "path": "src/components/payments/update-form/AmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/payments/update-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/payments/update-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "useAuditLog", "getUserId", "createAuditLog", "fallbackDirectFetch" ], "keys": null, "path": "src/components/payments/update-form/useAuditLog.ts", "selectors": null }, { "functions": [ "usePaymentUpdate", "handleSubmit" ], "keys": null, "path": "src/components/payments/update-form/usePaymentUpdate.ts", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "handleExport" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
330
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nAdd audit logs menu item\n\nAdd a menu item for the `/admin/audit-logs` page, similar to other admin pages.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\",\n \"isAdminPath\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SystemLogsCard\",\n \"fetchLogs\",\n \"revertLog\",\n \"getActionTypeColor\",\n \"getModuleIcon\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/system/SystemLogsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"checkSession\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/AmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLog\",\n \"getUserId\",\n \"createAuditLog\",\n \"fallbackDirectFetch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/useAuditLog.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePaymentUpdate\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/pages/admin/AuditLogs.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Refactor `useServicePayments` query Refactor the `useServicePayments` hook to use a new query that includes additional fields and joins, similar to the provided SQL query. This improves data retrieval efficiency and provides more comprehensive data for the admin service payments page.
{ "changed": [ "src/components/service-payments/ServicePaymentsTable.tsx", "src/hooks/useServicePayments.ts" ], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound", "isAdminPath" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "SystemLogsCard", "fetchLogs", "revertLog", "getActionTypeColor", "getModuleIcon", "formatDate" ], "keys": null, "path": "src/components/system/SystemLogsCard.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/payments/update-form/FormActions.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/payments/update-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "checkSession" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "AmountFields" ], "keys": null, "path": "src/components/payments/update-form/AmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/payments/update-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/payments/update-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "useAuditLog", "getUserId", "createAuditLog", "fallbackDirectFetch" ], "keys": null, "path": "src/components/payments/update-form/useAuditLog.ts", "selectors": null }, { "functions": [ "usePaymentUpdate", "handleSubmit" ], "keys": null, "path": "src/components/payments/update-form/usePaymentUpdate.ts", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "handleExport" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
331
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nRefactor `useServicePayments` query\n\nRefactor the `useServicePayments` hook to use a new query that includes additional fields and joins, similar to the provided SQL query. This improves data retrieval efficiency and provides more comprehensive data for the admin service payments page.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\",\n \"isAdminPath\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SystemLogsCard\",\n \"fetchLogs\",\n \"revertLog\",\n \"getActionTypeColor\",\n \"getModuleIcon\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/system/SystemLogsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"checkSession\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/AmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLog\",\n \"getUserId\",\n \"createAuditLog\",\n \"fallbackDirectFetch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/useAuditLog.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePaymentUpdate\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"src/hooks/useServicePayments.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Fix: ServicePayments page error The ServicePayments page was throwing an error due to a missing column in the database query. This commit addresses the error.
{ "changed": [ "src/hooks/useServicePayments.ts" ], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound", "isAdminPath" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "SystemLogsCard", "fetchLogs", "revertLog", "getActionTypeColor", "getModuleIcon", "formatDate" ], "keys": null, "path": "src/components/system/SystemLogsCard.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/payments/update-form/FormActions.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/payments/update-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "checkSession" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "AmountFields" ], "keys": null, "path": "src/components/payments/update-form/AmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/payments/update-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/payments/update-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "useAuditLog", "getUserId", "createAuditLog", "fallbackDirectFetch" ], "keys": null, "path": "src/components/payments/update-form/useAuditLog.ts", "selectors": null }, { "functions": [ "usePaymentUpdate", "handleSubmit" ], "keys": null, "path": "src/components/payments/update-form/usePaymentUpdate.ts", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "handleExport" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
332
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nFix: ServicePayments page error\n\nThe ServicePayments page was throwing an error due to a missing column in the database query. This commit addresses the error.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\",\n \"isAdminPath\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SystemLogsCard\",\n \"fetchLogs\",\n \"revertLog\",\n \"getActionTypeColor\",\n \"getModuleIcon\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/system/SystemLogsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"checkSession\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/AmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLog\",\n \"getUserId\",\n \"createAuditLog\",\n \"fallbackDirectFetch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/useAuditLog.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePaymentUpdate\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/hooks/useServicePayments.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Refactor service payments query The service payments query was refactored to use JOINs instead of ":" for table relationships, use clear aliases for tables, and correct the ORDER BY clause.
{ "changed": [ "src/hooks/useServicePayments.ts" ], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound", "isAdminPath" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "SystemLogsCard", "fetchLogs", "revertLog", "getActionTypeColor", "getModuleIcon", "formatDate" ], "keys": null, "path": "src/components/system/SystemLogsCard.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/payments/update-form/FormActions.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/payments/update-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "checkSession" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "AmountFields" ], "keys": null, "path": "src/components/payments/update-form/AmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/payments/update-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/payments/update-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "useAuditLog", "getUserId", "createAuditLog", "fallbackDirectFetch" ], "keys": null, "path": "src/components/payments/update-form/useAuditLog.ts", "selectors": null }, { "functions": [ "usePaymentUpdate", "handleSubmit" ], "keys": null, "path": "src/components/payments/update-form/usePaymentUpdate.ts", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "handleExport" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
333
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nRefactor service payments query\n\nThe service payments query was refactored to use JOINs instead of \":\" for table relationships, use clear aliases for tables, and correct the ORDER BY clause.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\",\n \"isAdminPath\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SystemLogsCard\",\n \"fetchLogs\",\n \"revertLog\",\n \"getActionTypeColor\",\n \"getModuleIcon\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/system/SystemLogsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"checkSession\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/AmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLog\",\n \"getUserId\",\n \"createAuditLog\",\n \"fallbackDirectFetch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/useAuditLog.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePaymentUpdate\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/hooks/useServicePayments.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Refactor service payments query Adjust the SELECT query to include additional fields and improve data retrieval. The updated query will be used to fetch service payment data.
{ "changed": [ "src/components/service-payments/ServicePaymentsTable.tsx", "src/hooks/useServicePayments.ts" ], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound", "isAdminPath" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "SystemLogsCard", "fetchLogs", "revertLog", "getActionTypeColor", "getModuleIcon", "formatDate" ], "keys": null, "path": "src/components/system/SystemLogsCard.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/payments/update-form/FormActions.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/payments/update-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "checkSession" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "AmountFields" ], "keys": null, "path": "src/components/payments/update-form/AmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/payments/update-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/payments/update-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "useAuditLog", "getUserId", "createAuditLog", "fallbackDirectFetch" ], "keys": null, "path": "src/components/payments/update-form/useAuditLog.ts", "selectors": null }, { "functions": [ "usePaymentUpdate", "handleSubmit" ], "keys": null, "path": "src/components/payments/update-form/usePaymentUpdate.ts", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "handleExport" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
334
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nRefactor service payments query\n\nAdjust the SELECT query to include additional fields and improve data retrieval. The updated query will be used to fetch service payment data.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\",\n \"isAdminPath\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SystemLogsCard\",\n \"fetchLogs\",\n \"revertLog\",\n \"getActionTypeColor\",\n \"getModuleIcon\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/system/SystemLogsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"checkSession\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/AmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLog\",\n \"getUserId\",\n \"createAuditLog\",\n \"fallbackDirectFetch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/useAuditLog.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePaymentUpdate\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"src/hooks/useServicePayments.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Reverted to edit edt-d1c363bb-9d51-4e7f-a3f5-64ab5dc8f443: "Add audit logs menu item Add a menu item for the `/admin/audit-logs` page, similar to other admin pages."
{ "changed": [ "src/components/service-payments/ServicePaymentsTable.tsx", "src/hooks/useServicePayments.ts" ], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound", "isAdminPath" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "SystemLogsCard", "fetchLogs", "revertLog", "getActionTypeColor", "getModuleIcon", "formatDate" ], "keys": null, "path": "src/components/system/SystemLogsCard.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/payments/update-form/FormActions.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/payments/update-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "checkSession" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "AmountFields" ], "keys": null, "path": "src/components/payments/update-form/AmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/payments/update-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/payments/update-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "useAuditLog", "getUserId", "createAuditLog", "fallbackDirectFetch" ], "keys": null, "path": "src/components/payments/update-form/useAuditLog.ts", "selectors": null }, { "functions": [ "usePaymentUpdate", "handleSubmit" ], "keys": null, "path": "src/components/payments/update-form/usePaymentUpdate.ts", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "handleExport" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
335
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nReverted to edit edt-d1c363bb-9d51-4e7f-a3f5-64ab5dc8f443: \"Add audit logs menu item\n\nAdd a menu item for the `/admin/audit-logs` page, similar to other admin pages.\"\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\",\n \"isAdminPath\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SystemLogsCard\",\n \"fetchLogs\",\n \"revertLog\",\n \"getActionTypeColor\",\n \"getModuleIcon\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/system/SystemLogsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"checkSession\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/AmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLog\",\n \"getUserId\",\n \"createAuditLog\",\n \"fallbackDirectFetch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/useAuditLog.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePaymentUpdate\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"src/hooks/useServicePayments.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Improve service payments query The SQL query for the admin/service-payments interface has been updated to include the missing service data in the displayed records.
{ "changed": [ "src/components/service-payments/ServicePaymentsTable.tsx", "src/hooks/useServicePayments.ts" ], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound", "isAdminPath" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "SystemLogsCard", "fetchLogs", "revertLog", "getActionTypeColor", "getModuleIcon", "formatDate" ], "keys": null, "path": "src/components/system/SystemLogsCard.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/payments/update-form/FormActions.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/payments/update-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "checkSession" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "AmountFields" ], "keys": null, "path": "src/components/payments/update-form/AmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/payments/update-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/payments/update-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "useAuditLog", "getUserId", "createAuditLog", "fallbackDirectFetch" ], "keys": null, "path": "src/components/payments/update-form/useAuditLog.ts", "selectors": null }, { "functions": [ "usePaymentUpdate", "handleSubmit" ], "keys": null, "path": "src/components/payments/update-form/usePaymentUpdate.ts", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "handleExport" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
336
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nImprove service payments query\n\nThe SQL query for the admin/service-payments interface has been updated to include the missing service data in the displayed records.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\",\n \"isAdminPath\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SystemLogsCard\",\n \"fetchLogs\",\n \"revertLog\",\n \"getActionTypeColor\",\n \"getModuleIcon\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/system/SystemLogsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"checkSession\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/AmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLog\",\n \"getUserId\",\n \"createAuditLog\",\n \"fallbackDirectFetch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/useAuditLog.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePaymentUpdate\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"src/hooks/useServicePayments.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Remove recurring payments filter Remove the "only recurring payments" filter from the admin/service-payments page. This filter will no longer affect the displayed data.
{ "changed": [ "src/hooks/useServicePayments.ts", "src/pages/admin/ServicePayments.tsx" ], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound", "isAdminPath" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "SystemLogsCard", "fetchLogs", "revertLog", "getActionTypeColor", "getModuleIcon", "formatDate" ], "keys": null, "path": "src/components/system/SystemLogsCard.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/payments/update-form/FormActions.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/payments/update-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "checkSession" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "AmountFields" ], "keys": null, "path": "src/components/payments/update-form/AmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/payments/update-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/payments/update-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "useAuditLog", "getUserId", "createAuditLog", "fallbackDirectFetch" ], "keys": null, "path": "src/components/payments/update-form/useAuditLog.ts", "selectors": null }, { "functions": [ "usePaymentUpdate", "handleSubmit" ], "keys": null, "path": "src/components/payments/update-form/usePaymentUpdate.ts", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "handleExport" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
337
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nRemove recurring payments filter\n\nRemove the \"only recurring payments\" filter from the admin/service-payments page. This filter will no longer affect the displayed data.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\",\n \"isAdminPath\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SystemLogsCard\",\n \"fetchLogs\",\n \"revertLog\",\n \"getActionTypeColor\",\n \"getModuleIcon\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/system/SystemLogsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"checkSession\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/AmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLog\",\n \"getUserId\",\n \"createAuditLog\",\n \"fallbackDirectFetch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/useAuditLog.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePaymentUpdate\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/hooks/useServicePayments.ts\",\n \"src/pages/admin/ServicePayments.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Remove recurring payments filter This commit removes the recurring payments filter from the service payments section to fix an issue where filtering by service ("lunguana") still showed all payments.
{ "changed": [ "src/hooks/useServicePayments.ts" ], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound", "isAdminPath" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "SystemLogsCard", "fetchLogs", "revertLog", "getActionTypeColor", "getModuleIcon", "formatDate" ], "keys": null, "path": "src/components/system/SystemLogsCard.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/payments/update-form/FormActions.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/payments/update-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "checkSession" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "AmountFields" ], "keys": null, "path": "src/components/payments/update-form/AmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/payments/update-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/payments/update-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "useAuditLog", "getUserId", "createAuditLog", "fallbackDirectFetch" ], "keys": null, "path": "src/components/payments/update-form/useAuditLog.ts", "selectors": null }, { "functions": [ "usePaymentUpdate", "handleSubmit" ], "keys": null, "path": "src/components/payments/update-form/usePaymentUpdate.ts", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "handleExport" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
338
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nRemove recurring payments filter\n\nThis commit removes the recurring payments filter from the service payments section to fix an issue where filtering by service (\"lunguana\") still showed all payments.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\",\n \"isAdminPath\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SystemLogsCard\",\n \"fetchLogs\",\n \"revertLog\",\n \"getActionTypeColor\",\n \"getModuleIcon\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/system/SystemLogsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"checkSession\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/AmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLog\",\n \"getUserId\",\n \"createAuditLog\",\n \"fallbackDirectFetch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/useAuditLog.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePaymentUpdate\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/hooks/useServicePayments.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Fix service payments table display Correctly display data in the service payments table after applying filters, mirroring the behavior when no filters are applied.
{ "changed": [ "src/components/service-payments/ServicePaymentsTable.tsx" ], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound", "isAdminPath" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "SystemLogsCard", "fetchLogs", "revertLog", "getActionTypeColor", "getModuleIcon", "formatDate" ], "keys": null, "path": "src/components/system/SystemLogsCard.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/payments/update-form/FormActions.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/payments/update-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "checkSession" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "AmountFields" ], "keys": null, "path": "src/components/payments/update-form/AmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/payments/update-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/payments/update-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "useAuditLog", "getUserId", "createAuditLog", "fallbackDirectFetch" ], "keys": null, "path": "src/components/payments/update-form/useAuditLog.ts", "selectors": null }, { "functions": [ "usePaymentUpdate", "handleSubmit" ], "keys": null, "path": "src/components/payments/update-form/usePaymentUpdate.ts", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "handleExport" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
339
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nFix service payments table display\n\nCorrectly display data in the service payments table after applying filters, mirroring the behavior when no filters are applied.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\",\n \"isAdminPath\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SystemLogsCard\",\n \"fetchLogs\",\n \"revertLog\",\n \"getActionTypeColor\",\n \"getModuleIcon\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/system/SystemLogsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"checkSession\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/AmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLog\",\n \"getUserId\",\n \"createAuditLog\",\n \"fallbackDirectFetch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/useAuditLog.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePaymentUpdate\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/components/service-payments/ServicePaymentsTable.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Fix: Service filter The service filter was not working correctly. Added console logs to debug the parameters sent when filtering by service.
{ "changed": [ "src/components/service-payments/ServicePaymentsTable.tsx", "src/hooks/useServicePayments.ts" ], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound", "isAdminPath" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "SystemLogsCard", "fetchLogs", "revertLog", "getActionTypeColor", "getModuleIcon", "formatDate" ], "keys": null, "path": "src/components/system/SystemLogsCard.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/payments/update-form/FormActions.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/payments/update-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "checkSession" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "AmountFields" ], "keys": null, "path": "src/components/payments/update-form/AmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/payments/update-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/payments/update-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "useAuditLog", "getUserId", "createAuditLog", "fallbackDirectFetch" ], "keys": null, "path": "src/components/payments/update-form/useAuditLog.ts", "selectors": null }, { "functions": [ "usePaymentUpdate", "handleSubmit" ], "keys": null, "path": "src/components/payments/update-form/usePaymentUpdate.ts", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor", "getServiceName", "getCreatorName", "formatPaymentPeriod" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "handleExport" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
340
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nFix: Service filter\n\nThe service filter was not working correctly. Added console logs to debug the parameters sent when filtering by service.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\",\n \"isAdminPath\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SystemLogsCard\",\n \"fetchLogs\",\n \"revertLog\",\n \"getActionTypeColor\",\n \"getModuleIcon\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/system/SystemLogsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"checkSession\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/AmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLog\",\n \"getUserId\",\n \"createAuditLog\",\n \"fallbackDirectFetch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/useAuditLog.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePaymentUpdate\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\",\n \"getServiceName\",\n \"getCreatorName\",\n \"formatPaymentPeriod\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"src/hooks/useServicePayments.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Fix: Clear service filter on reset The service filter was not clearing the list of results when the filter was reset. This commit fixes that issue.
{ "changed": [ "src/components/service-payments/ServicePaymentsHeader.tsx", "src/components/service-payments/ServicePaymentsTable.tsx", "src/hooks/useServicePayments.ts", "src/pages/admin/ServicePayments.tsx" ], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound", "isAdminPath" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "SystemLogsCard", "fetchLogs", "revertLog", "getActionTypeColor", "getModuleIcon", "formatDate" ], "keys": null, "path": "src/components/system/SystemLogsCard.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/payments/update-form/FormActions.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/payments/update-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "checkSession" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "AmountFields" ], "keys": null, "path": "src/components/payments/update-form/AmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/payments/update-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/payments/update-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "useAuditLog", "getUserId", "createAuditLog", "fallbackDirectFetch" ], "keys": null, "path": "src/components/payments/update-form/useAuditLog.ts", "selectors": null }, { "functions": [ "usePaymentUpdate", "handleSubmit" ], "keys": null, "path": "src/components/payments/update-form/usePaymentUpdate.ts", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor", "getServiceName", "getCreatorName", "formatPaymentPeriod" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "handleExport" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
341
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nFix: Clear service filter on reset\n\nThe service filter was not clearing the list of results when the filter was reset. This commit fixes that issue.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\",\n \"isAdminPath\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SystemLogsCard\",\n \"fetchLogs\",\n \"revertLog\",\n \"getActionTypeColor\",\n \"getModuleIcon\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/system/SystemLogsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"checkSession\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/AmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLog\",\n \"getUserId\",\n \"createAuditLog\",\n \"fallbackDirectFetch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/useAuditLog.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePaymentUpdate\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\",\n \"getServiceName\",\n \"getCreatorName\",\n \"formatPaymentPeriod\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"src/hooks/useServicePayments.ts\",\n \"src/pages/admin/ServicePayments.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Update useQuery options Update `useQuery` hook options to use `placeholderData` instead of `keepPreviousData` to maintain previous data while fetching new data.
{ "changed": [ "src/hooks/useServicePayments.ts" ], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound", "isAdminPath" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "SystemLogsCard", "fetchLogs", "revertLog", "getActionTypeColor", "getModuleIcon", "formatDate" ], "keys": null, "path": "src/components/system/SystemLogsCard.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/payments/update-form/FormActions.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/payments/update-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "checkSession" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "AmountFields" ], "keys": null, "path": "src/components/payments/update-form/AmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/payments/update-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/payments/update-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "useAuditLog", "getUserId", "createAuditLog", "fallbackDirectFetch" ], "keys": null, "path": "src/components/payments/update-form/useAuditLog.ts", "selectors": null }, { "functions": [ "usePaymentUpdate", "handleSubmit" ], "keys": null, "path": "src/components/payments/update-form/usePaymentUpdate.ts", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor", "getServiceName", "getCreatorName", "formatPaymentPeriod" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleServiceFilterChange", "handleBrandStatusChange", "handleCreatorStatusChange", "handleRecurringFilterChange", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "handleExport" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
342
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nUpdate useQuery options\n\nUpdate `useQuery` hook options to use `placeholderData` instead of `keepPreviousData` to maintain previous data while fetching new data.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\",\n \"isAdminPath\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SystemLogsCard\",\n \"fetchLogs\",\n \"revertLog\",\n \"getActionTypeColor\",\n \"getModuleIcon\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/system/SystemLogsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"checkSession\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/AmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLog\",\n \"getUserId\",\n \"createAuditLog\",\n \"fallbackDirectFetch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/useAuditLog.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePaymentUpdate\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\",\n \"getServiceName\",\n \"getCreatorName\",\n \"formatPaymentPeriod\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleServiceFilterChange\",\n \"handleBrandStatusChange\",\n \"handleCreatorStatusChange\",\n \"handleRecurringFilterChange\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/hooks/useServicePayments.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Remove service and recurring payment filters This commit removes the service and recurring payment filters from both the user interface and the database queries for Service Payments.
{ "changed": [ "src/components/service-payments/ServicePaymentsHeader.tsx", "src/hooks/useServicePayments.ts", "src/pages/admin/ServicePayments.tsx" ], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound", "isAdminPath" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "SystemLogsCard", "fetchLogs", "revertLog", "getActionTypeColor", "getModuleIcon", "formatDate" ], "keys": null, "path": "src/components/system/SystemLogsCard.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/payments/update-form/FormActions.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/payments/update-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "checkSession" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "AmountFields" ], "keys": null, "path": "src/components/payments/update-form/AmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/payments/update-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/payments/update-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "useAuditLog", "getUserId", "createAuditLog", "fallbackDirectFetch" ], "keys": null, "path": "src/components/payments/update-form/useAuditLog.ts", "selectors": null }, { "functions": [ "usePaymentUpdate", "handleSubmit" ], "keys": null, "path": "src/components/payments/update-form/usePaymentUpdate.ts", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor", "getServiceName", "getCreatorName", "formatPaymentPeriod" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleServiceFilterChange", "handleBrandStatusChange", "handleCreatorStatusChange", "handleRecurringFilterChange", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "handleExport" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
343
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nRemove service and recurring payment filters\n\nThis commit removes the service and recurring payment filters from both the user interface and the database queries for Service Payments.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\",\n \"isAdminPath\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SystemLogsCard\",\n \"fetchLogs\",\n \"revertLog\",\n \"getActionTypeColor\",\n \"getModuleIcon\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/system/SystemLogsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"checkSession\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/AmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLog\",\n \"getUserId\",\n \"createAuditLog\",\n \"fallbackDirectFetch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/useAuditLog.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePaymentUpdate\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\",\n \"getServiceName\",\n \"getCreatorName\",\n \"formatPaymentPeriod\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleServiceFilterChange\",\n \"handleBrandStatusChange\",\n \"handleCreatorStatusChange\",\n \"handleRecurringFilterChange\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"src/hooks/useServicePayments.ts\",\n \"src/pages/admin/ServicePayments.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Merge pull request #11 from gmrdaniel/admin-creadores Admin creadores
{ "changed": [], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound", "isAdminPath" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "SystemLogsCard", "fetchLogs", "revertLog", "getActionTypeColor", "getModuleIcon", "formatDate" ], "keys": null, "path": "src/components/system/SystemLogsCard.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/payments/update-form/FormActions.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/payments/update-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "checkSession" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "AmountFields" ], "keys": null, "path": "src/components/payments/update-form/AmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/payments/update-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/payments/update-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "useAuditLog", "getUserId", "createAuditLog", "fallbackDirectFetch" ], "keys": null, "path": "src/components/payments/update-form/useAuditLog.ts", "selectors": null }, { "functions": [ "usePaymentUpdate", "handleSubmit" ], "keys": null, "path": "src/components/payments/update-form/usePaymentUpdate.ts", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor", "getServiceName", "getCreatorName", "formatPaymentPeriod" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleBrandStatusChange", "handleCreatorStatusChange", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "handleExport" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
344
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nMerge pull request #11 from gmrdaniel/admin-creadores\n\nAdmin creadores\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\",\n \"isAdminPath\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SystemLogsCard\",\n \"fetchLogs\",\n \"revertLog\",\n \"getActionTypeColor\",\n \"getModuleIcon\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/system/SystemLogsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"checkSession\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/AmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLog\",\n \"getUserId\",\n \"createAuditLog\",\n \"fallbackDirectFetch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/useAuditLog.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePaymentUpdate\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\",\n \"getServiceName\",\n \"getCreatorName\",\n \"formatPaymentPeriod\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleBrandStatusChange\",\n \"handleCreatorStatusChange\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Add admin catalogs menu item Adds a new menu item under the admin section called "Catalogs" with the route `/admin/catalogs`. No implementation details are included in this commit.
{ "changed": [ "src/components/sidebar/navigation-items.tsx" ], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound", "isAdminPath" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "SystemLogsCard", "fetchLogs", "revertLog", "getActionTypeColor", "getModuleIcon", "formatDate" ], "keys": null, "path": "src/components/system/SystemLogsCard.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/payments/update-form/FormActions.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/payments/update-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "checkSession" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "AmountFields" ], "keys": null, "path": "src/components/payments/update-form/AmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/payments/update-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/payments/update-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "useAuditLog", "getUserId", "createAuditLog", "fallbackDirectFetch" ], "keys": null, "path": "src/components/payments/update-form/useAuditLog.ts", "selectors": null }, { "functions": [ "usePaymentUpdate", "handleSubmit" ], "keys": null, "path": "src/components/payments/update-form/usePaymentUpdate.ts", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor", "getServiceName", "getCreatorName", "formatPaymentPeriod" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleBrandStatusChange", "handleCreatorStatusChange", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "handleExport" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
345
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nAdd admin catalogs menu item\n\nAdds a new menu item under the admin section called \"Catalogs\" with the route `/admin/catalogs`. No implementation details are included in this commit.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\",\n \"isAdminPath\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SystemLogsCard\",\n \"fetchLogs\",\n \"revertLog\",\n \"getActionTypeColor\",\n \"getModuleIcon\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/system/SystemLogsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"checkSession\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/AmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLog\",\n \"getUserId\",\n \"createAuditLog\",\n \"fallbackDirectFetch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/useAuditLog.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePaymentUpdate\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\",\n \"getServiceName\",\n \"getCreatorName\",\n \"formatPaymentPeriod\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleBrandStatusChange\",\n \"handleCreatorStatusChange\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/components/sidebar/navigation-items.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Fix: /admin/catalogs 404 error The `/admin/catalogs` route was returning a 404 error. This commit addresses the issue.
{ "changed": [ "src/App.tsx" ], "created": [ "src/pages/admin/Catalogs.tsx" ], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound", "isAdminPath" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "SystemLogsCard", "fetchLogs", "revertLog", "getActionTypeColor", "getModuleIcon", "formatDate" ], "keys": null, "path": "src/components/system/SystemLogsCard.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/payments/update-form/FormActions.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/payments/update-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "checkSession" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "AmountFields" ], "keys": null, "path": "src/components/payments/update-form/AmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/payments/update-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/payments/update-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "useAuditLog", "getUserId", "createAuditLog", "fallbackDirectFetch" ], "keys": null, "path": "src/components/payments/update-form/useAuditLog.ts", "selectors": null }, { "functions": [ "usePaymentUpdate", "handleSubmit" ], "keys": null, "path": "src/components/payments/update-form/usePaymentUpdate.ts", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor", "getServiceName", "getCreatorName", "formatPaymentPeriod" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleBrandStatusChange", "handleCreatorStatusChange", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "handleExport" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
346
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nFix: /admin/catalogs 404 error\n\nThe `/admin/catalogs` route was returning a 404 error. This commit addresses the issue.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\",\n \"isAdminPath\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SystemLogsCard\",\n \"fetchLogs\",\n \"revertLog\",\n \"getActionTypeColor\",\n \"getModuleIcon\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/system/SystemLogsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"checkSession\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/AmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLog\",\n \"getUserId\",\n \"createAuditLog\",\n \"fallbackDirectFetch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/useAuditLog.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePaymentUpdate\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\",\n \"getServiceName\",\n \"getCreatorName\",\n \"formatPaymentPeriod\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleBrandStatusChange\",\n \"handleCreatorStatusChange\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/App.tsx\"\n ],\n \"created\": [\n \"src/pages/admin/Catalogs.tsx\"\n ],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Implement catalogs page cards Implement cards with links to services and post types on the catalogs page.
{ "changed": [ "src/pages/admin/Catalogs.tsx" ], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound", "isAdminPath" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "SystemLogsCard", "fetchLogs", "revertLog", "getActionTypeColor", "getModuleIcon", "formatDate" ], "keys": null, "path": "src/components/system/SystemLogsCard.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/payments/update-form/FormActions.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/payments/update-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "checkSession" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "AmountFields" ], "keys": null, "path": "src/components/payments/update-form/AmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/payments/update-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/payments/update-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "useAuditLog", "getUserId", "createAuditLog", "fallbackDirectFetch" ], "keys": null, "path": "src/components/payments/update-form/useAuditLog.ts", "selectors": null }, { "functions": [ "usePaymentUpdate", "handleSubmit" ], "keys": null, "path": "src/components/payments/update-form/usePaymentUpdate.ts", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor", "getServiceName", "getCreatorName", "formatPaymentPeriod" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleBrandStatusChange", "handleCreatorStatusChange", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "handleExport" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "Catalogs" ], "keys": null, "path": "src/pages/admin/Catalogs.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
347
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nImplement catalogs page cards\n\nImplement cards with links to services and post types on the catalogs page.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\",\n \"isAdminPath\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SystemLogsCard\",\n \"fetchLogs\",\n \"revertLog\",\n \"getActionTypeColor\",\n \"getModuleIcon\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/system/SystemLogsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"checkSession\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/AmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLog\",\n \"getUserId\",\n \"createAuditLog\",\n \"fallbackDirectFetch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/useAuditLog.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePaymentUpdate\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\",\n \"getServiceName\",\n \"getCreatorName\",\n \"formatPaymentPeriod\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleBrandStatusChange\",\n \"handleCreatorStatusChange\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Catalogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Catalogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/pages/admin/Catalogs.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Remove navigation items Remove "/admin/post-types" (Redes Sociales) and "/admin/audit-logs" (Audit Logs) from the sidebar navigation.
{ "changed": [ "src/components/sidebar/navigation-items.tsx" ], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound", "isAdminPath" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "SystemLogsCard", "fetchLogs", "revertLog", "getActionTypeColor", "getModuleIcon", "formatDate" ], "keys": null, "path": "src/components/system/SystemLogsCard.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/payments/update-form/FormActions.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/payments/update-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "checkSession" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "AmountFields" ], "keys": null, "path": "src/components/payments/update-form/AmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/payments/update-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/payments/update-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "useAuditLog", "getUserId", "createAuditLog", "fallbackDirectFetch" ], "keys": null, "path": "src/components/payments/update-form/useAuditLog.ts", "selectors": null }, { "functions": [ "usePaymentUpdate", "handleSubmit" ], "keys": null, "path": "src/components/payments/update-form/usePaymentUpdate.ts", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor", "getServiceName", "getCreatorName", "formatPaymentPeriod" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleBrandStatusChange", "handleCreatorStatusChange", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "handleExport" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "Catalogs" ], "keys": null, "path": "src/pages/admin/Catalogs.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
348
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nRemove navigation items\n\nRemove \"/admin/post-types\" (Redes Sociales) and \"/admin/audit-logs\" (Audit Logs) from the sidebar navigation.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\",\n \"isAdminPath\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SystemLogsCard\",\n \"fetchLogs\",\n \"revertLog\",\n \"getActionTypeColor\",\n \"getModuleIcon\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/system/SystemLogsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"checkSession\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/AmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLog\",\n \"getUserId\",\n \"createAuditLog\",\n \"fallbackDirectFetch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/useAuditLog.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePaymentUpdate\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\",\n \"getServiceName\",\n \"getCreatorName\",\n \"formatPaymentPeriod\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleBrandStatusChange\",\n \"handleCreatorStatusChange\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Catalogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Catalogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/components/sidebar/navigation-items.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Remove admin services menu item Removes the "Administrar Servicios" item from the admin sidebar navigation.
{ "changed": [ "src/components/sidebar/navigation-items.tsx" ], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound", "isAdminPath" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "SystemLogsCard", "fetchLogs", "revertLog", "getActionTypeColor", "getModuleIcon", "formatDate" ], "keys": null, "path": "src/components/system/SystemLogsCard.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/payments/update-form/FormActions.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/payments/update-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "checkSession" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "AmountFields" ], "keys": null, "path": "src/components/payments/update-form/AmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/payments/update-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/payments/update-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "useAuditLog", "getUserId", "createAuditLog", "fallbackDirectFetch" ], "keys": null, "path": "src/components/payments/update-form/useAuditLog.ts", "selectors": null }, { "functions": [ "usePaymentUpdate", "handleSubmit" ], "keys": null, "path": "src/components/payments/update-form/usePaymentUpdate.ts", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor", "getServiceName", "getCreatorName", "formatPaymentPeriod" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleBrandStatusChange", "handleCreatorStatusChange", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "handleExport" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "Catalogs" ], "keys": null, "path": "src/pages/admin/Catalogs.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
349
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nRemove admin services menu item\n\nRemoves the \"Administrar Servicios\" item from the admin sidebar navigation.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\",\n \"isAdminPath\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SystemLogsCard\",\n \"fetchLogs\",\n \"revertLog\",\n \"getActionTypeColor\",\n \"getModuleIcon\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/system/SystemLogsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"checkSession\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/AmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLog\",\n \"getUserId\",\n \"createAuditLog\",\n \"fallbackDirectFetch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/useAuditLog.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePaymentUpdate\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\",\n \"getServiceName\",\n \"getCreatorName\",\n \"formatPaymentPeriod\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleBrandStatusChange\",\n \"handleCreatorStatusChange\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Catalogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Catalogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/components/sidebar/navigation-items.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Update admin/rates with country data This commit updates the admin/rates interface and related services to include a country field. The country data will be copied from the `personal_data.country` field.
{ "changed": [ "src/components/creator-rates/components/RatesTable.tsx", "src/components/creator-rates/hooks/useRatesData.ts", "src/components/creator-rates/types.ts" ], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound", "isAdminPath" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "SystemLogsCard", "fetchLogs", "revertLog", "getActionTypeColor", "getModuleIcon", "formatDate" ], "keys": null, "path": "src/components/system/SystemLogsCard.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/payments/update-form/FormActions.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/payments/update-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "checkSession" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "AmountFields" ], "keys": null, "path": "src/components/payments/update-form/AmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/payments/update-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/payments/update-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "useAuditLog", "getUserId", "createAuditLog", "fallbackDirectFetch" ], "keys": null, "path": "src/components/payments/update-form/useAuditLog.ts", "selectors": null }, { "functions": [ "usePaymentUpdate", "handleSubmit" ], "keys": null, "path": "src/components/payments/update-form/usePaymentUpdate.ts", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor", "getServiceName", "getCreatorName", "formatPaymentPeriod" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleBrandStatusChange", "handleCreatorStatusChange", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "handleExport" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "Catalogs" ], "keys": null, "path": "src/pages/admin/Catalogs.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
350
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nUpdate admin/rates with country data\n\nThis commit updates the admin/rates interface and related services to include a country field. The country data will be copied from the `personal_data.country` field.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\",\n \"isAdminPath\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SystemLogsCard\",\n \"fetchLogs\",\n \"revertLog\",\n \"getActionTypeColor\",\n \"getModuleIcon\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/system/SystemLogsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"checkSession\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/AmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLog\",\n \"getUserId\",\n \"createAuditLog\",\n \"fallbackDirectFetch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/useAuditLog.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePaymentUpdate\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\",\n \"getServiceName\",\n \"getCreatorName\",\n \"formatPaymentPeriod\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleBrandStatusChange\",\n \"handleCreatorStatusChange\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Catalogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Catalogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/components/creator-rates/components/RatesTable.tsx\",\n \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"src/components/creator-rates/types.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Update Creator Rates icon Update the icon for the Creator Rates section.
{ "changed": [ "src/components/sidebar/navigation-items.tsx" ], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound", "isAdminPath" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "SystemLogsCard", "fetchLogs", "revertLog", "getActionTypeColor", "getModuleIcon", "formatDate" ], "keys": null, "path": "src/components/system/SystemLogsCard.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/payments/update-form/FormActions.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/payments/update-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "checkSession" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "AmountFields" ], "keys": null, "path": "src/components/payments/update-form/AmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/payments/update-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/payments/update-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "useAuditLog", "getUserId", "createAuditLog", "fallbackDirectFetch" ], "keys": null, "path": "src/components/payments/update-form/useAuditLog.ts", "selectors": null }, { "functions": [ "usePaymentUpdate", "handleSubmit" ], "keys": null, "path": "src/components/payments/update-form/usePaymentUpdate.ts", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor", "getServiceName", "getCreatorName", "formatPaymentPeriod" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleBrandStatusChange", "handleCreatorStatusChange", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "handleExport" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "Catalogs" ], "keys": null, "path": "src/pages/admin/Catalogs.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
351
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nUpdate Creator Rates icon\n\nUpdate the icon for the Creator Rates section.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\",\n \"isAdminPath\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SystemLogsCard\",\n \"fetchLogs\",\n \"revertLog\",\n \"getActionTypeColor\",\n \"getModuleIcon\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/system/SystemLogsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"checkSession\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/AmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLog\",\n \"getUserId\",\n \"createAuditLog\",\n \"fallbackDirectFetch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/useAuditLog.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePaymentUpdate\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\",\n \"getServiceName\",\n \"getCreatorName\",\n \"formatPaymentPeriod\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleBrandStatusChange\",\n \"handleCreatorStatusChange\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Catalogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Catalogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/components/sidebar/navigation-items.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Add country filter to RatesList This commit adds a country filter to the existing "Tarifas Existentes" interface and functionality.
{ "changed": [ "src/components/creator-rates/RatesList.tsx", "src/components/creator-rates/components/Filters.tsx", "src/components/creator-rates/hooks/useRatesData.ts", "src/components/creator-rates/types.ts" ], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound", "isAdminPath" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "SystemLogsCard", "fetchLogs", "revertLog", "getActionTypeColor", "getModuleIcon", "formatDate" ], "keys": null, "path": "src/components/system/SystemLogsCard.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/payments/update-form/FormActions.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/payments/update-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "checkSession" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "AmountFields" ], "keys": null, "path": "src/components/payments/update-form/AmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/payments/update-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/payments/update-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "useAuditLog", "getUserId", "createAuditLog", "fallbackDirectFetch" ], "keys": null, "path": "src/components/payments/update-form/useAuditLog.ts", "selectors": null }, { "functions": [ "usePaymentUpdate", "handleSubmit" ], "keys": null, "path": "src/components/payments/update-form/usePaymentUpdate.ts", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor", "getServiceName", "getCreatorName", "formatPaymentPeriod" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleBrandStatusChange", "handleCreatorStatusChange", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "handleExport" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "Catalogs" ], "keys": null, "path": "src/pages/admin/Catalogs.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
352
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nAdd country filter to RatesList\n\nThis commit adds a country filter to the existing \"Tarifas Existentes\" interface and functionality.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\",\n \"isAdminPath\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SystemLogsCard\",\n \"fetchLogs\",\n \"revertLog\",\n \"getActionTypeColor\",\n \"getModuleIcon\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/system/SystemLogsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"checkSession\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/AmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLog\",\n \"getUserId\",\n \"createAuditLog\",\n \"fallbackDirectFetch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/useAuditLog.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePaymentUpdate\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\",\n \"getServiceName\",\n \"getCreatorName\",\n \"formatPaymentPeriod\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleBrandStatusChange\",\n \"handleCreatorStatusChange\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Catalogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Catalogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/components/creator-rates/RatesList.tsx\",\n \"src/components/creator-rates/components/Filters.tsx\",\n \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"src/components/creator-rates/types.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Import Supabase backup This commit addresses the prompt to import a Supabase backup into another Supabase project. The specific implementation details are not included in this commit message.
{ "changed": [ "src/integrations/supabase/client.ts" ], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound", "isAdminPath" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "SystemLogsCard", "fetchLogs", "revertLog", "getActionTypeColor", "getModuleIcon", "formatDate" ], "keys": null, "path": "src/components/system/SystemLogsCard.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/payments/update-form/FormActions.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/payments/update-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "checkSession" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "AmountFields" ], "keys": null, "path": "src/components/payments/update-form/AmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/payments/update-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/payments/update-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "useAuditLog", "getUserId", "createAuditLog", "fallbackDirectFetch" ], "keys": null, "path": "src/components/payments/update-form/useAuditLog.ts", "selectors": null }, { "functions": [ "usePaymentUpdate", "handleSubmit" ], "keys": null, "path": "src/components/payments/update-form/usePaymentUpdate.ts", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor", "getServiceName", "getCreatorName", "formatPaymentPeriod" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleBrandStatusChange", "handleCreatorStatusChange", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "handleExport" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "Catalogs" ], "keys": null, "path": "src/pages/admin/Catalogs.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
353
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nImport Supabase backup\n\nThis commit addresses the prompt to import a Supabase backup into another Supabase project. The specific implementation details are not included in this commit message.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\",\n \"isAdminPath\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SystemLogsCard\",\n \"fetchLogs\",\n \"revertLog\",\n \"getActionTypeColor\",\n \"getModuleIcon\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/system/SystemLogsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"checkSession\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/AmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLog\",\n \"getUserId\",\n \"createAuditLog\",\n \"fallbackDirectFetch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/useAuditLog.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePaymentUpdate\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\",\n \"getServiceName\",\n \"getCreatorName\",\n \"formatPaymentPeriod\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleBrandStatusChange\",\n \"handleCreatorStatusChange\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Catalogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Catalogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/integrations/supabase/client.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Merge pull request #12 from gmrdaniel/admin-creadores Admin creadores
{ "changed": [], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound", "isAdminPath" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "SystemLogsCard", "fetchLogs", "revertLog", "getActionTypeColor", "getModuleIcon", "formatDate" ], "keys": null, "path": "src/components/system/SystemLogsCard.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/payments/update-form/FormActions.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/payments/update-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "checkSession" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "AmountFields" ], "keys": null, "path": "src/components/payments/update-form/AmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/payments/update-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/payments/update-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "useAuditLog", "getUserId", "createAuditLog", "fallbackDirectFetch" ], "keys": null, "path": "src/components/payments/update-form/useAuditLog.ts", "selectors": null }, { "functions": [ "usePaymentUpdate", "handleSubmit" ], "keys": null, "path": "src/components/payments/update-form/usePaymentUpdate.ts", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor", "getServiceName", "getCreatorName", "formatPaymentPeriod" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleBrandStatusChange", "handleCreatorStatusChange", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "handleExport" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "Catalogs" ], "keys": null, "path": "src/pages/admin/Catalogs.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
354
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nMerge pull request #12 from gmrdaniel/admin-creadores\n\nAdmin creadores\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\",\n \"isAdminPath\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SystemLogsCard\",\n \"fetchLogs\",\n \"revertLog\",\n \"getActionTypeColor\",\n \"getModuleIcon\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/system/SystemLogsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"checkSession\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/AmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLog\",\n \"getUserId\",\n \"createAuditLog\",\n \"fallbackDirectFetch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/useAuditLog.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePaymentUpdate\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\",\n \"getServiceName\",\n \"getCreatorName\",\n \"formatPaymentPeriod\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleBrandStatusChange\",\n \"handleCreatorStatusChange\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Catalogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Catalogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Create development branch This commit creates a new development branch and configures it to connect to a new database.
{ "changed": [ "src/integrations/supabase/client.ts" ], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound", "isAdminPath" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "SystemLogsCard", "fetchLogs", "revertLog", "getActionTypeColor", "getModuleIcon", "formatDate" ], "keys": null, "path": "src/components/system/SystemLogsCard.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/payments/update-form/FormActions.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/payments/update-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "checkSession" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "AmountFields" ], "keys": null, "path": "src/components/payments/update-form/AmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/payments/update-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/payments/update-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "useAuditLog", "getUserId", "createAuditLog", "fallbackDirectFetch" ], "keys": null, "path": "src/components/payments/update-form/useAuditLog.ts", "selectors": null }, { "functions": [ "usePaymentUpdate", "handleSubmit" ], "keys": null, "path": "src/components/payments/update-form/usePaymentUpdate.ts", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor", "getServiceName", "getCreatorName", "formatPaymentPeriod" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleBrandStatusChange", "handleCreatorStatusChange", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "handleExport" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "Catalogs" ], "keys": null, "path": "src/pages/admin/Catalogs.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
355
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nCreate development branch\n\nThis commit creates a new development branch and configures it to connect to a new database.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\",\n \"isAdminPath\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SystemLogsCard\",\n \"fetchLogs\",\n \"revertLog\",\n \"getActionTypeColor\",\n \"getModuleIcon\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/system/SystemLogsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"checkSession\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/AmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLog\",\n \"getUserId\",\n \"createAuditLog\",\n \"fallbackDirectFetch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/useAuditLog.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePaymentUpdate\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\",\n \"getServiceName\",\n \"getCreatorName\",\n \"formatPaymentPeriod\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleBrandStatusChange\",\n \"handleCreatorStatusChange\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Catalogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Catalogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/integrations/supabase/client.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Adjust deployment steps Adjust deployment steps to account for Vercel usage.
{ "changed": [ "src/integrations/supabase/client.ts" ], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound", "isAdminPath" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "SystemLogsCard", "fetchLogs", "revertLog", "getActionTypeColor", "getModuleIcon", "formatDate" ], "keys": null, "path": "src/components/system/SystemLogsCard.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/payments/update-form/FormActions.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/payments/update-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "checkSession" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "AmountFields" ], "keys": null, "path": "src/components/payments/update-form/AmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/payments/update-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/payments/update-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "useAuditLog", "getUserId", "createAuditLog", "fallbackDirectFetch" ], "keys": null, "path": "src/components/payments/update-form/useAuditLog.ts", "selectors": null }, { "functions": [ "usePaymentUpdate", "handleSubmit" ], "keys": null, "path": "src/components/payments/update-form/usePaymentUpdate.ts", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor", "getServiceName", "getCreatorName", "formatPaymentPeriod" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleBrandStatusChange", "handleCreatorStatusChange", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "handleExport" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "Catalogs" ], "keys": null, "path": "src/pages/admin/Catalogs.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
356
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nAdjust deployment steps\n\nAdjust deployment steps to account for Vercel usage.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\",\n \"isAdminPath\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SystemLogsCard\",\n \"fetchLogs\",\n \"revertLog\",\n \"getActionTypeColor\",\n \"getModuleIcon\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/system/SystemLogsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"checkSession\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/AmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLog\",\n \"getUserId\",\n \"createAuditLog\",\n \"fallbackDirectFetch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/useAuditLog.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePaymentUpdate\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\",\n \"getServiceName\",\n \"getCreatorName\",\n \"formatPaymentPeriod\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleBrandStatusChange\",\n \"handleCreatorStatusChange\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Catalogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Catalogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/integrations/supabase/client.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
/development
{ "changed": [ "src/integrations/supabase/client.ts" ], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound", "isAdminPath" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "SystemLogsCard", "fetchLogs", "revertLog", "getActionTypeColor", "getModuleIcon", "formatDate" ], "keys": null, "path": "src/components/system/SystemLogsCard.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/payments/update-form/FormActions.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/payments/update-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "checkSession" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "AmountFields" ], "keys": null, "path": "src/components/payments/update-form/AmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/payments/update-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/payments/update-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "useAuditLog", "getUserId", "createAuditLog", "fallbackDirectFetch" ], "keys": null, "path": "src/components/payments/update-form/useAuditLog.ts", "selectors": null }, { "functions": [ "usePaymentUpdate", "handleSubmit" ], "keys": null, "path": "src/components/payments/update-form/usePaymentUpdate.ts", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor", "getServiceName", "getCreatorName", "formatPaymentPeriod" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleBrandStatusChange", "handleCreatorStatusChange", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "handleExport" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "Catalogs" ], "keys": null, "path": "src/pages/admin/Catalogs.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
357
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\n/development\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\",\n \"isAdminPath\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SystemLogsCard\",\n \"fetchLogs\",\n \"revertLog\",\n \"getActionTypeColor\",\n \"getModuleIcon\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/system/SystemLogsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"checkSession\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/AmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLog\",\n \"getUserId\",\n \"createAuditLog\",\n \"fallbackDirectFetch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/useAuditLog.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePaymentUpdate\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\",\n \"getServiceName\",\n \"getCreatorName\",\n \"formatPaymentPeriod\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleBrandStatusChange\",\n \"handleCreatorStatusChange\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Catalogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Catalogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/integrations/supabase/client.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
/development
{ "changed": [], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound", "isAdminPath" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "SystemLogsCard", "fetchLogs", "revertLog", "getActionTypeColor", "getModuleIcon", "formatDate" ], "keys": null, "path": "src/components/system/SystemLogsCard.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/payments/update-form/FormActions.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/payments/update-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "checkSession" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "AmountFields" ], "keys": null, "path": "src/components/payments/update-form/AmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/payments/update-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/payments/update-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "useAuditLog", "getUserId", "createAuditLog", "fallbackDirectFetch" ], "keys": null, "path": "src/components/payments/update-form/useAuditLog.ts", "selectors": null }, { "functions": [ "usePaymentUpdate", "handleSubmit" ], "keys": null, "path": "src/components/payments/update-form/usePaymentUpdate.ts", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor", "getServiceName", "getCreatorName", "formatPaymentPeriod" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleBrandStatusChange", "handleCreatorStatusChange", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "handleExport" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "Catalogs" ], "keys": null, "path": "src/pages/admin/Catalogs.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
358
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\n/development\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\",\n \"isAdminPath\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SystemLogsCard\",\n \"fetchLogs\",\n \"revertLog\",\n \"getActionTypeColor\",\n \"getModuleIcon\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/system/SystemLogsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"checkSession\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/AmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLog\",\n \"getUserId\",\n \"createAuditLog\",\n \"fallbackDirectFetch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/useAuditLog.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePaymentUpdate\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\",\n \"getServiceName\",\n \"getCreatorName\",\n \"formatPaymentPeriod\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleBrandStatusChange\",\n \"handleCreatorStatusChange\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Catalogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Catalogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Prepare for Edge Functions deployment This commit prepares the codebase for deploying Edge Functions, likely to facilitate migration to a new database.
{ "changed": [ "supabase/config.toml" ], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound", "isAdminPath" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "SystemLogsCard", "fetchLogs", "revertLog", "getActionTypeColor", "getModuleIcon", "formatDate" ], "keys": null, "path": "src/components/system/SystemLogsCard.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/payments/update-form/FormActions.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/payments/update-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "checkSession" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "AmountFields" ], "keys": null, "path": "src/components/payments/update-form/AmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/payments/update-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/payments/update-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "useAuditLog", "getUserId", "createAuditLog", "fallbackDirectFetch" ], "keys": null, "path": "src/components/payments/update-form/useAuditLog.ts", "selectors": null }, { "functions": [ "usePaymentUpdate", "handleSubmit" ], "keys": null, "path": "src/components/payments/update-form/usePaymentUpdate.ts", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor", "getServiceName", "getCreatorName", "formatPaymentPeriod" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleBrandStatusChange", "handleCreatorStatusChange", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "handleExport" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "Catalogs" ], "keys": null, "path": "src/pages/admin/Catalogs.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
359
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nPrepare for Edge Functions deployment\n\nThis commit prepares the codebase for deploying Edge Functions, likely to facilitate migration to a new database.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\",\n \"isAdminPath\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SystemLogsCard\",\n \"fetchLogs\",\n \"revertLog\",\n \"getActionTypeColor\",\n \"getModuleIcon\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/system/SystemLogsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"checkSession\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/AmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLog\",\n \"getUserId\",\n \"createAuditLog\",\n \"fallbackDirectFetch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/useAuditLog.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePaymentUpdate\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\",\n \"getServiceName\",\n \"getCreatorName\",\n \"formatPaymentPeriod\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleBrandStatusChange\",\n \"handleCreatorStatusChange\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Catalogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Catalogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"supabase/config.toml\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Merge pull request #13 from gmrdaniel/development Development
{ "changed": [], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound", "isAdminPath" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "SystemLogsCard", "fetchLogs", "revertLog", "getActionTypeColor", "getModuleIcon", "formatDate" ], "keys": null, "path": "src/components/system/SystemLogsCard.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/payments/update-form/FormActions.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/payments/update-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "checkSession" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "AmountFields" ], "keys": null, "path": "src/components/payments/update-form/AmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/payments/update-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/payments/update-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "useAuditLog", "getUserId", "createAuditLog", "fallbackDirectFetch" ], "keys": null, "path": "src/components/payments/update-form/useAuditLog.ts", "selectors": null }, { "functions": [ "usePaymentUpdate", "handleSubmit" ], "keys": null, "path": "src/components/payments/update-form/usePaymentUpdate.ts", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor", "getServiceName", "getCreatorName", "formatPaymentPeriod" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleBrandStatusChange", "handleCreatorStatusChange", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "handleExport" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "Catalogs" ], "keys": null, "path": "src/pages/admin/Catalogs.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
360
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nMerge pull request #13 from gmrdaniel/development\n\nDevelopment\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\",\n \"isAdminPath\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SystemLogsCard\",\n \"fetchLogs\",\n \"revertLog\",\n \"getActionTypeColor\",\n \"getModuleIcon\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/system/SystemLogsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"checkSession\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/AmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLog\",\n \"getUserId\",\n \"createAuditLog\",\n \"fallbackDirectFetch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/useAuditLog.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePaymentUpdate\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\",\n \"getServiceName\",\n \"getCreatorName\",\n \"formatPaymentPeriod\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleBrandStatusChange\",\n \"handleCreatorStatusChange\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Catalogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Catalogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Add logo and footer to Auth page Adds a logo to the top right corner of the Auth page and a footer with copyright information.
{ "changed": [ "src/pages/Auth.tsx" ], "created": [ "public/lovable-uploads/15012b70-aa4e-4950-b985-f3dc21b231b5.png" ], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound", "isAdminPath" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "SystemLogsCard", "fetchLogs", "revertLog", "getActionTypeColor", "getModuleIcon", "formatDate" ], "keys": null, "path": "src/components/system/SystemLogsCard.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/payments/update-form/FormActions.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/payments/update-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "checkSession" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "AmountFields" ], "keys": null, "path": "src/components/payments/update-form/AmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/payments/update-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/payments/update-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "useAuditLog", "getUserId", "createAuditLog", "fallbackDirectFetch" ], "keys": null, "path": "src/components/payments/update-form/useAuditLog.ts", "selectors": null }, { "functions": [ "usePaymentUpdate", "handleSubmit" ], "keys": null, "path": "src/components/payments/update-form/usePaymentUpdate.ts", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor", "getServiceName", "getCreatorName", "formatPaymentPeriod" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleBrandStatusChange", "handleCreatorStatusChange", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "handleExport" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "Catalogs" ], "keys": null, "path": "src/pages/admin/Catalogs.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
361
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nAdd logo and footer to Auth page\n\nAdds a logo to the top right corner of the Auth page and a footer with copyright information.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\",\n \"isAdminPath\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SystemLogsCard\",\n \"fetchLogs\",\n \"revertLog\",\n \"getActionTypeColor\",\n \"getModuleIcon\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/system/SystemLogsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"checkSession\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/AmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLog\",\n \"getUserId\",\n \"createAuditLog\",\n \"fallbackDirectFetch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/useAuditLog.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePaymentUpdate\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\",\n \"getServiceName\",\n \"getCreatorName\",\n \"formatPaymentPeriod\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleBrandStatusChange\",\n \"handleCreatorStatusChange\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Catalogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Catalogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/pages/Auth.tsx\"\n ],\n \"created\": [\n \"public/lovable-uploads/15012b70-aa4e-4950-b985-f3dc21b231b5.png\"\n ],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Merge pull request #14 from gmrdaniel/development Add logo and footer to Auth page
{ "changed": [], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound", "isAdminPath" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "SystemLogsCard", "fetchLogs", "revertLog", "getActionTypeColor", "getModuleIcon", "formatDate" ], "keys": null, "path": "src/components/system/SystemLogsCard.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/payments/update-form/FormActions.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/payments/update-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "checkSession" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "AmountFields" ], "keys": null, "path": "src/components/payments/update-form/AmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/payments/update-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/payments/update-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "useAuditLog", "getUserId", "createAuditLog", "fallbackDirectFetch" ], "keys": null, "path": "src/components/payments/update-form/useAuditLog.ts", "selectors": null }, { "functions": [ "usePaymentUpdate", "handleSubmit" ], "keys": null, "path": "src/components/payments/update-form/usePaymentUpdate.ts", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor", "getServiceName", "getCreatorName", "formatPaymentPeriod" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleBrandStatusChange", "handleCreatorStatusChange", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "handleExport" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "Catalogs" ], "keys": null, "path": "src/pages/admin/Catalogs.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
362
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nMerge pull request #14 from gmrdaniel/development\n\nAdd logo and footer to Auth page\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\",\n \"isAdminPath\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SystemLogsCard\",\n \"fetchLogs\",\n \"revertLog\",\n \"getActionTypeColor\",\n \"getModuleIcon\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/system/SystemLogsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"checkSession\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/AmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLog\",\n \"getUserId\",\n \"createAuditLog\",\n \"fallbackDirectFetch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/useAuditLog.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePaymentUpdate\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\",\n \"getServiceName\",\n \"getCreatorName\",\n \"formatPaymentPeriod\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleBrandStatusChange\",\n \"handleCreatorStatusChange\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Catalogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Catalogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
cambiar el dominio del correo invitación
{ "changed": [ "supabase/functions/send-invitation-email/index.ts" ], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound", "isAdminPath" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "SystemLogsCard", "fetchLogs", "revertLog", "getActionTypeColor", "getModuleIcon", "formatDate" ], "keys": null, "path": "src/components/system/SystemLogsCard.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/payments/update-form/FormActions.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/payments/update-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "checkSession" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "AmountFields" ], "keys": null, "path": "src/components/payments/update-form/AmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/payments/update-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/payments/update-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "useAuditLog", "getUserId", "createAuditLog", "fallbackDirectFetch" ], "keys": null, "path": "src/components/payments/update-form/useAuditLog.ts", "selectors": null }, { "functions": [ "usePaymentUpdate", "handleSubmit" ], "keys": null, "path": "src/components/payments/update-form/usePaymentUpdate.ts", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor", "getServiceName", "getCreatorName", "formatPaymentPeriod" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleBrandStatusChange", "handleCreatorStatusChange", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "handleExport" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "Catalogs" ], "keys": null, "path": "src/pages/admin/Catalogs.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
363
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\ncambiar el dominio del correo invitación\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\",\n \"isAdminPath\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SystemLogsCard\",\n \"fetchLogs\",\n \"revertLog\",\n \"getActionTypeColor\",\n \"getModuleIcon\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/system/SystemLogsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"checkSession\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/AmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLog\",\n \"getUserId\",\n \"createAuditLog\",\n \"fallbackDirectFetch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/useAuditLog.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePaymentUpdate\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\",\n \"getServiceName\",\n \"getCreatorName\",\n \"formatPaymentPeriod\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleBrandStatusChange\",\n \"handleCreatorStatusChange\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Catalogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Catalogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"supabase/functions/send-invitation-email/index.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Connect to Supabase project Add Supabase configuration and types to the project.
{ "changed": [ "package-lock.json", "package.json", "src/integrations/supabase/client.ts", "src/integrations/supabase/types.ts", "supabase/config.toml" ], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound", "isAdminPath" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "SystemLogsCard", "fetchLogs", "revertLog", "getActionTypeColor", "getModuleIcon", "formatDate" ], "keys": null, "path": "src/components/system/SystemLogsCard.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/payments/update-form/FormActions.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/payments/update-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "checkSession" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "AmountFields" ], "keys": null, "path": "src/components/payments/update-form/AmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/payments/update-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/payments/update-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "useAuditLog", "getUserId", "createAuditLog", "fallbackDirectFetch" ], "keys": null, "path": "src/components/payments/update-form/useAuditLog.ts", "selectors": null }, { "functions": [ "usePaymentUpdate", "handleSubmit" ], "keys": null, "path": "src/components/payments/update-form/usePaymentUpdate.ts", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor", "getServiceName", "getCreatorName", "formatPaymentPeriod" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleBrandStatusChange", "handleCreatorStatusChange", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "handleExport" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "Catalogs" ], "keys": null, "path": "src/pages/admin/Catalogs.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
364
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nConnect to Supabase project\n\nAdd Supabase configuration and types to the project.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\",\n \"isAdminPath\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SystemLogsCard\",\n \"fetchLogs\",\n \"revertLog\",\n \"getActionTypeColor\",\n \"getModuleIcon\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/system/SystemLogsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"checkSession\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/AmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLog\",\n \"getUserId\",\n \"createAuditLog\",\n \"fallbackDirectFetch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/useAuditLog.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePaymentUpdate\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\",\n \"getServiceName\",\n \"getCreatorName\",\n \"formatPaymentPeriod\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleBrandStatusChange\",\n \"handleCreatorStatusChange\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Catalogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Catalogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"package-lock.json\",\n \"package.json\",\n \"src/integrations/supabase/client.ts\",\n \"src/integrations/supabase/types.ts\",\n \"supabase/config.toml\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Generate database migration files This commit introduces a mechanism to automatically generate database migration files for each database schema change. This will help keep development and production databases synchronized.
{ "changed": [ "src/components/audit/AuditLogsFilters.tsx", "src/components/audit/types.ts", "src/components/payments/update-form/useAuditLog.ts", "src/hooks/useAuditLogs.ts", "src/pages/Auth.tsx", "src/pages/admin/CreatorDetail.tsx", "src/pages/admin/ServicePayments.tsx" ], "created": [ "scripts/apply-migrations.sh", "supabase/migrations/.gitkeep", "supabase/migrations/20250305_add_payment_action_type.sql", "supabase/migrations/20250305_fix_creator_detail_bank_details.sql", "supabase/migrations/README.md" ], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound", "isAdminPath" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "SystemLogsCard", "fetchLogs", "revertLog", "getActionTypeColor", "getModuleIcon", "formatDate" ], "keys": null, "path": "src/components/system/SystemLogsCard.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/payments/update-form/FormActions.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/payments/update-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "checkSession" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "AmountFields" ], "keys": null, "path": "src/components/payments/update-form/AmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/payments/update-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/payments/update-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "useAuditLog", "getUserId", "createAuditLog", "fallbackDirectFetch" ], "keys": null, "path": "src/components/payments/update-form/useAuditLog.ts", "selectors": null }, { "functions": [ "usePaymentUpdate", "handleSubmit" ], "keys": null, "path": "src/components/payments/update-form/usePaymentUpdate.ts", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor", "getServiceName", "getCreatorName", "formatPaymentPeriod" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleBrandStatusChange", "handleCreatorStatusChange", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "handleExport" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "Catalogs" ], "keys": null, "path": "src/pages/admin/Catalogs.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
365
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nGenerate database migration files\n\nThis commit introduces a mechanism to automatically generate database migration files for each database schema change. This will help keep development and production databases synchronized.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\",\n \"isAdminPath\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SystemLogsCard\",\n \"fetchLogs\",\n \"revertLog\",\n \"getActionTypeColor\",\n \"getModuleIcon\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/system/SystemLogsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"checkSession\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/AmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLog\",\n \"getUserId\",\n \"createAuditLog\",\n \"fallbackDirectFetch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/useAuditLog.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePaymentUpdate\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\",\n \"getServiceName\",\n \"getCreatorName\",\n \"formatPaymentPeriod\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleBrandStatusChange\",\n \"handleCreatorStatusChange\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Catalogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Catalogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/components/audit/AuditLogsFilters.tsx\",\n \"src/components/audit/types.ts\",\n \"src/components/payments/update-form/useAuditLog.ts\",\n \"src/hooks/useAuditLogs.ts\",\n \"src/pages/Auth.tsx\",\n \"src/pages/admin/CreatorDetail.tsx\",\n \"src/pages/admin/ServicePayments.tsx\"\n ],\n \"created\": [\n \"scripts/apply-migrations.sh\",\n \"supabase/migrations/.gitkeep\",\n \"supabase/migrations/20250305_add_payment_action_type.sql\",\n \"supabase/migrations/20250305_fix_creator_detail_bank_details.sql\",\n \"supabase/migrations/README.md\"\n ],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Fix: Resolve TypeScript errors Fixes multiple TypeScript errors related to audit logging, property access, and type assignments.
{ "changed": [ "src/components/audit/types.ts", "src/components/payments/ServicePaymentUpdateForm.tsx", "src/components/payments/update-form/useAuditLog.ts", "src/components/payments/update-form/usePaymentUpdate.ts", "src/pages/admin/CreatorDetail.tsx", "src/pages/admin/ServicePayments.tsx" ], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleLogin" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound", "isAdminPath" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "SystemLogsCard", "fetchLogs", "revertLog", "getActionTypeColor", "getModuleIcon", "formatDate" ], "keys": null, "path": "src/components/system/SystemLogsCard.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/payments/update-form/FormActions.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/payments/update-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "checkSession" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "AmountFields" ], "keys": null, "path": "src/components/payments/update-form/AmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/payments/update-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/payments/update-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "useAuditLog", "getUserId", "createAuditLog", "fallbackDirectFetch", "logPaymentUpdate" ], "keys": null, "path": "src/components/payments/update-form/useAuditLog.ts", "selectors": null }, { "functions": [ "usePaymentUpdate", "handleSubmit" ], "keys": null, "path": "src/components/payments/update-form/usePaymentUpdate.ts", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor", "getServiceName", "getCreatorName", "formatPaymentPeriod" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleBrandStatusChange", "handleCreatorStatusChange", "handleGenerateMonthlyPayments", "handleUpdatePayment" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetails", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "Catalogs" ], "keys": null, "path": "src/pages/admin/Catalogs.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
366
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nFix: Resolve TypeScript errors\n\nFixes multiple TypeScript errors related to audit logging, property access, and type assignments.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleLogin\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\",\n \"isAdminPath\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SystemLogsCard\",\n \"fetchLogs\",\n \"revertLog\",\n \"getActionTypeColor\",\n \"getModuleIcon\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/system/SystemLogsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"checkSession\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/AmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLog\",\n \"getUserId\",\n \"createAuditLog\",\n \"fallbackDirectFetch\",\n \"logPaymentUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/useAuditLog.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePaymentUpdate\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\",\n \"getServiceName\",\n \"getCreatorName\",\n \"formatPaymentPeriod\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleBrandStatusChange\",\n \"handleCreatorStatusChange\",\n \"handleGenerateMonthlyPayments\",\n \"handleUpdatePayment\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetails\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Catalogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Catalogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/components/audit/types.ts\",\n \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"src/components/payments/update-form/useAuditLog.ts\",\n \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"src/pages/admin/CreatorDetail.tsx\",\n \"src/pages/admin/ServicePayments.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Reverted to edit edt-54d364b5-7264-43b5-bc94-4080abe39637: "Generate database migration files This commit introduces a mechanism to automatically generate database migration files for each database schema change. This will help keep development and production databases synchronized."
{ "changed": [ "src/components/audit/types.ts", "src/components/payments/ServicePaymentUpdateForm.tsx", "src/components/payments/update-form/useAuditLog.ts", "src/components/payments/update-form/usePaymentUpdate.ts", "src/pages/admin/CreatorDetail.tsx", "src/pages/admin/ServicePayments.tsx" ], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleLogin" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound", "isAdminPath" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "SystemLogsCard", "fetchLogs", "revertLog", "getActionTypeColor", "getModuleIcon", "formatDate" ], "keys": null, "path": "src/components/system/SystemLogsCard.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/payments/update-form/FormActions.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/payments/update-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "checkSession" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "AmountFields" ], "keys": null, "path": "src/components/payments/update-form/AmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/payments/update-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/payments/update-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "useAuditLog", "getUserId", "createAuditLog", "fallbackDirectFetch", "logPaymentUpdate" ], "keys": null, "path": "src/components/payments/update-form/useAuditLog.ts", "selectors": null }, { "functions": [ "usePaymentUpdate", "handleSubmit" ], "keys": null, "path": "src/components/payments/update-form/usePaymentUpdate.ts", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor", "getServiceName", "getCreatorName", "formatPaymentPeriod" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleBrandStatusChange", "handleCreatorStatusChange", "handleGenerateMonthlyPayments", "handleUpdatePayment" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetails", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "Catalogs" ], "keys": null, "path": "src/pages/admin/Catalogs.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
367
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nReverted to edit edt-54d364b5-7264-43b5-bc94-4080abe39637: \"Generate database migration files\n\nThis commit introduces a mechanism to automatically generate database migration files for each database schema change. This will help keep development and production databases synchronized.\"\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleLogin\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\",\n \"isAdminPath\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SystemLogsCard\",\n \"fetchLogs\",\n \"revertLog\",\n \"getActionTypeColor\",\n \"getModuleIcon\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/system/SystemLogsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"checkSession\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/AmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLog\",\n \"getUserId\",\n \"createAuditLog\",\n \"fallbackDirectFetch\",\n \"logPaymentUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/useAuditLog.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePaymentUpdate\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\",\n \"getServiceName\",\n \"getCreatorName\",\n \"formatPaymentPeriod\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleBrandStatusChange\",\n \"handleCreatorStatusChange\",\n \"handleGenerateMonthlyPayments\",\n \"handleUpdatePayment\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetails\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Catalogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Catalogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/components/audit/types.ts\",\n \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"src/components/payments/update-form/useAuditLog.ts\",\n \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"src/pages/admin/CreatorDetail.tsx\",\n \"src/pages/admin/ServicePayments.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Show login errors Display error messages when login fails.
{ "changed": [ "src/components/audit/types.ts", "src/components/payments/update-form/PaymentFormSchema.ts", "src/components/payments/update-form/useAuditLog.ts", "src/hooks/useAuditLogs.ts", "src/hooks/useAuth.tsx", "src/integrations/supabase/types.ts", "src/pages/Auth.tsx", "src/pages/admin/ServicePayments.tsx" ], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleLogin" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound", "isAdminPath" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "SystemLogsCard", "fetchLogs", "revertLog", "getActionTypeColor", "getModuleIcon", "formatDate" ], "keys": null, "path": "src/components/system/SystemLogsCard.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/payments/update-form/FormActions.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/payments/update-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "checkSession" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "AmountFields" ], "keys": null, "path": "src/components/payments/update-form/AmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/payments/update-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/payments/update-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "useAuditLog", "getUserId", "createAuditLog", "fallbackDirectFetch", "logPaymentUpdate" ], "keys": null, "path": "src/components/payments/update-form/useAuditLog.ts", "selectors": null }, { "functions": [ "usePaymentUpdate", "handleSubmit" ], "keys": null, "path": "src/components/payments/update-form/usePaymentUpdate.ts", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor", "getServiceName", "getCreatorName", "formatPaymentPeriod" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleBrandStatusChange", "handleCreatorStatusChange", "handleGenerateMonthlyPayments", "handleUpdatePayment" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetails", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "Catalogs" ], "keys": null, "path": "src/pages/admin/Catalogs.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
368
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nShow login errors\n\nDisplay error messages when login fails.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleLogin\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\",\n \"isAdminPath\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SystemLogsCard\",\n \"fetchLogs\",\n \"revertLog\",\n \"getActionTypeColor\",\n \"getModuleIcon\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/system/SystemLogsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"checkSession\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/AmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLog\",\n \"getUserId\",\n \"createAuditLog\",\n \"fallbackDirectFetch\",\n \"logPaymentUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/useAuditLog.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePaymentUpdate\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\",\n \"getServiceName\",\n \"getCreatorName\",\n \"formatPaymentPeriod\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleBrandStatusChange\",\n \"handleCreatorStatusChange\",\n \"handleGenerateMonthlyPayments\",\n \"handleUpdatePayment\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetails\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Catalogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Catalogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/components/audit/types.ts\",\n \"src/components/payments/update-form/PaymentFormSchema.ts\",\n \"src/components/payments/update-form/useAuditLog.ts\",\n \"src/hooks/useAuditLogs.ts\",\n \"src/hooks/useAuth.tsx\",\n \"src/integrations/supabase/types.ts\",\n \"src/pages/Auth.tsx\",\n \"src/pages/admin/ServicePayments.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Reverted to edit edt-f0bf6508-2285-40d9-b578-d31807397e55: "Fix: Resolve TypeScript errors Fixes multiple TypeScript errors related to audit logging, property access, and type assignments."
{ "changed": [ "src/components/payments/ServicePaymentUpdateForm.tsx", "src/components/payments/update-form/PaymentFormSchema.ts", "src/components/payments/update-form/usePaymentUpdate.ts", "src/hooks/useAuditLogs.ts", "src/hooks/useAuth.tsx", "src/integrations/supabase/types.ts", "src/pages/Auth.tsx", "src/pages/admin/CreatorDetail.tsx", "src/pages/admin/ServicePayments.tsx" ], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleLogin" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound", "isAdminPath" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "SystemLogsCard", "fetchLogs", "revertLog", "getActionTypeColor", "getModuleIcon", "formatDate" ], "keys": null, "path": "src/components/system/SystemLogsCard.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/payments/update-form/FormActions.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/payments/update-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "checkSession" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "AmountFields" ], "keys": null, "path": "src/components/payments/update-form/AmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/payments/update-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/payments/update-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "useAuditLog", "getUserId", "createAuditLog", "fallbackDirectFetch", "logPaymentUpdate" ], "keys": null, "path": "src/components/payments/update-form/useAuditLog.ts", "selectors": null }, { "functions": [ "usePaymentUpdate", "handleSubmit" ], "keys": null, "path": "src/components/payments/update-form/usePaymentUpdate.ts", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor", "getServiceName", "getCreatorName", "formatPaymentPeriod" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleBrandStatusChange", "handleCreatorStatusChange", "handleGenerateMonthlyPayments", "handleUpdatePayment" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetails", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "Catalogs" ], "keys": null, "path": "src/pages/admin/Catalogs.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
369
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nReverted to edit edt-f0bf6508-2285-40d9-b578-d31807397e55: \"Fix: Resolve TypeScript errors\n\nFixes multiple TypeScript errors related to audit logging, property access, and type assignments.\"\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleLogin\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\",\n \"isAdminPath\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SystemLogsCard\",\n \"fetchLogs\",\n \"revertLog\",\n \"getActionTypeColor\",\n \"getModuleIcon\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/system/SystemLogsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"checkSession\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/AmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLog\",\n \"getUserId\",\n \"createAuditLog\",\n \"fallbackDirectFetch\",\n \"logPaymentUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/useAuditLog.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePaymentUpdate\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\",\n \"getServiceName\",\n \"getCreatorName\",\n \"formatPaymentPeriod\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleBrandStatusChange\",\n \"handleCreatorStatusChange\",\n \"handleGenerateMonthlyPayments\",\n \"handleUpdatePayment\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetails\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Catalogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Catalogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"src/components/payments/update-form/PaymentFormSchema.ts\",\n \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"src/hooks/useAuditLogs.ts\",\n \"src/hooks/useAuth.tsx\",\n \"src/integrations/supabase/types.ts\",\n \"src/pages/Auth.tsx\",\n \"src/pages/admin/CreatorDetail.tsx\",\n \"src/pages/admin/ServicePayments.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Merge pull request #15 from gmrdaniel/main Igualando ramas
{ "changed": [], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleLogin" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound", "isAdminPath" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "SystemLogsCard", "fetchLogs", "revertLog", "getActionTypeColor", "getModuleIcon", "formatDate" ], "keys": null, "path": "src/components/system/SystemLogsCard.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/payments/update-form/FormActions.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/payments/update-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "checkSession" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "AmountFields" ], "keys": null, "path": "src/components/payments/update-form/AmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/payments/update-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/payments/update-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "useAuditLog", "getUserId", "createAuditLog", "fallbackDirectFetch", "logPaymentUpdate" ], "keys": null, "path": "src/components/payments/update-form/useAuditLog.ts", "selectors": null }, { "functions": [ "usePaymentUpdate", "handleSubmit" ], "keys": null, "path": "src/components/payments/update-form/usePaymentUpdate.ts", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor", "getServiceName", "getCreatorName", "formatPaymentPeriod" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleBrandStatusChange", "handleCreatorStatusChange", "handleGenerateMonthlyPayments", "handleUpdatePayment" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "filterByAction", "filterByTable", "filterByUser", "useAuditLogs", "fetchAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetails", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "Catalogs" ], "keys": null, "path": "src/pages/admin/Catalogs.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
370
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nMerge pull request #15 from gmrdaniel/main\n\nIgualando ramas\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleLogin\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\",\n \"isAdminPath\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SystemLogsCard\",\n \"fetchLogs\",\n \"revertLog\",\n \"getActionTypeColor\",\n \"getModuleIcon\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/system/SystemLogsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"checkSession\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/AmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLog\",\n \"getUserId\",\n \"createAuditLog\",\n \"fallbackDirectFetch\",\n \"logPaymentUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/useAuditLog.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePaymentUpdate\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\",\n \"getServiceName\",\n \"getCreatorName\",\n \"formatPaymentPeriod\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleBrandStatusChange\",\n \"handleCreatorStatusChange\",\n \"handleGenerateMonthlyPayments\",\n \"handleUpdatePayment\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"filterByAction\",\n \"filterByTable\",\n \"filterByUser\",\n \"useAuditLogs\",\n \"fetchAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetails\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Catalogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Catalogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
apuntando a BD dev
{ "changed": [], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleLogin" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound", "isAdminPath" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "SystemLogsCard", "fetchLogs", "revertLog", "getActionTypeColor", "getModuleIcon", "formatDate" ], "keys": null, "path": "src/components/system/SystemLogsCard.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/payments/update-form/FormActions.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/payments/update-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "checkSession" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "AmountFields" ], "keys": null, "path": "src/components/payments/update-form/AmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/payments/update-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/payments/update-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "useAuditLog", "getUserId", "createAuditLog", "fallbackDirectFetch", "logPaymentUpdate" ], "keys": null, "path": "src/components/payments/update-form/useAuditLog.ts", "selectors": null }, { "functions": [ "usePaymentUpdate", "handleSubmit" ], "keys": null, "path": "src/components/payments/update-form/usePaymentUpdate.ts", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor", "getServiceName", "getCreatorName", "formatPaymentPeriod" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleBrandStatusChange", "handleCreatorStatusChange", "handleGenerateMonthlyPayments", "handleUpdatePayment" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "filterByAction", "filterByTable", "filterByUser", "useAuditLogs", "fetchAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetails", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "Catalogs" ], "keys": null, "path": "src/pages/admin/Catalogs.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
371
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\napuntando a BD dev\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleLogin\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\",\n \"isAdminPath\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SystemLogsCard\",\n \"fetchLogs\",\n \"revertLog\",\n \"getActionTypeColor\",\n \"getModuleIcon\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/system/SystemLogsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"checkSession\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/AmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLog\",\n \"getUserId\",\n \"createAuditLog\",\n \"fallbackDirectFetch\",\n \"logPaymentUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/useAuditLog.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePaymentUpdate\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\",\n \"getServiceName\",\n \"getCreatorName\",\n \"formatPaymentPeriod\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleBrandStatusChange\",\n \"handleCreatorStatusChange\",\n \"handleGenerateMonthlyPayments\",\n \"handleUpdatePayment\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"filterByAction\",\n \"filterByTable\",\n \"filterByUser\",\n \"useAuditLogs\",\n \"fetchAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetails\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Catalogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Catalogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Check development DB connection Review configuration to ensure successful connection to the development database. </
{ "changed": [ "src/hooks/useAuth.tsx", "src/integrations/supabase/client.ts", "src/pages/Auth.tsx" ], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleLogin" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound", "isAdminPath" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "SystemLogsCard", "fetchLogs", "revertLog", "getActionTypeColor", "getModuleIcon", "formatDate" ], "keys": null, "path": "src/components/system/SystemLogsCard.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/payments/update-form/FormActions.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/payments/update-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "checkSession" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "AmountFields" ], "keys": null, "path": "src/components/payments/update-form/AmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/payments/update-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/payments/update-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "useAuditLog", "getUserId", "createAuditLog", "fallbackDirectFetch", "logPaymentUpdate" ], "keys": null, "path": "src/components/payments/update-form/useAuditLog.ts", "selectors": null }, { "functions": [ "usePaymentUpdate", "handleSubmit" ], "keys": null, "path": "src/components/payments/update-form/usePaymentUpdate.ts", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor", "getServiceName", "getCreatorName", "formatPaymentPeriod" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleBrandStatusChange", "handleCreatorStatusChange", "handleGenerateMonthlyPayments", "handleUpdatePayment" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "filterByAction", "filterByTable", "filterByUser", "useAuditLogs", "fetchAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetails", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "Catalogs" ], "keys": null, "path": "src/pages/admin/Catalogs.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
372
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nCheck development DB connection\n\nReview configuration to ensure successful connection to the development database.\n</\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleLogin\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\",\n \"isAdminPath\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SystemLogsCard\",\n \"fetchLogs\",\n \"revertLog\",\n \"getActionTypeColor\",\n \"getModuleIcon\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/system/SystemLogsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"checkSession\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/AmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLog\",\n \"getUserId\",\n \"createAuditLog\",\n \"fallbackDirectFetch\",\n \"logPaymentUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/useAuditLog.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePaymentUpdate\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\",\n \"getServiceName\",\n \"getCreatorName\",\n \"formatPaymentPeriod\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleBrandStatusChange\",\n \"handleCreatorStatusChange\",\n \"handleGenerateMonthlyPayments\",\n \"handleUpdatePayment\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"filterByAction\",\n \"filterByTable\",\n \"filterByUser\",\n \"useAuditLogs\",\n \"fetchAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetails\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Catalogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Catalogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/hooks/useAuth.tsx\",\n \"src/integrations/supabase/client.ts\",\n \"src/pages/Auth.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
cambiando como importar las variables
{ "changed": [ "src/integrations/supabase/client.ts" ], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "checkConnection", "handleLogin" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound", "isAdminPath" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "SystemLogsCard", "fetchLogs", "revertLog", "getActionTypeColor", "getModuleIcon", "formatDate" ], "keys": null, "path": "src/components/system/SystemLogsCard.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/payments/update-form/FormActions.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/payments/update-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "checkSession" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "AmountFields" ], "keys": null, "path": "src/components/payments/update-form/AmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/payments/update-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/payments/update-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "useAuditLog", "getUserId", "createAuditLog", "fallbackDirectFetch", "logPaymentUpdate" ], "keys": null, "path": "src/components/payments/update-form/useAuditLog.ts", "selectors": null }, { "functions": [ "usePaymentUpdate", "handleSubmit" ], "keys": null, "path": "src/components/payments/update-form/usePaymentUpdate.ts", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor", "getServiceName", "getCreatorName", "formatPaymentPeriod" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleBrandStatusChange", "handleCreatorStatusChange", "handleGenerateMonthlyPayments", "handleUpdatePayment" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "filterByAction", "filterByTable", "filterByUser", "useAuditLogs", "fetchAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetails", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "Catalogs" ], "keys": null, "path": "src/pages/admin/Catalogs.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
373
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\ncambiando como importar las variables\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"checkConnection\",\n \"handleLogin\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\",\n \"isAdminPath\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SystemLogsCard\",\n \"fetchLogs\",\n \"revertLog\",\n \"getActionTypeColor\",\n \"getModuleIcon\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/system/SystemLogsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"checkSession\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/AmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLog\",\n \"getUserId\",\n \"createAuditLog\",\n \"fallbackDirectFetch\",\n \"logPaymentUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/useAuditLog.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePaymentUpdate\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\",\n \"getServiceName\",\n \"getCreatorName\",\n \"formatPaymentPeriod\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleBrandStatusChange\",\n \"handleCreatorStatusChange\",\n \"handleGenerateMonthlyPayments\",\n \"handleUpdatePayment\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"filterByAction\",\n \"filterByTable\",\n \"filterByUser\",\n \"useAuditLogs\",\n \"fetchAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetails\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Catalogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Catalogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/integrations/supabase/client.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Merge branch 'development' of https://github.com/gmrdaniel/laneta-crm into development
{ "changed": [], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "checkConnection", "handleLogin" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound", "isAdminPath" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "SystemLogsCard", "fetchLogs", "revertLog", "getActionTypeColor", "getModuleIcon", "formatDate" ], "keys": null, "path": "src/components/system/SystemLogsCard.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/payments/update-form/FormActions.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/payments/update-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "checkSession" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "AmountFields" ], "keys": null, "path": "src/components/payments/update-form/AmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/payments/update-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/payments/update-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "useAuditLog", "getUserId", "createAuditLog", "fallbackDirectFetch", "logPaymentUpdate" ], "keys": null, "path": "src/components/payments/update-form/useAuditLog.ts", "selectors": null }, { "functions": [ "usePaymentUpdate", "handleSubmit" ], "keys": null, "path": "src/components/payments/update-form/usePaymentUpdate.ts", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor", "getServiceName", "getCreatorName", "formatPaymentPeriod" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleBrandStatusChange", "handleCreatorStatusChange", "handleGenerateMonthlyPayments", "handleUpdatePayment" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "filterByAction", "filterByTable", "filterByUser", "useAuditLogs", "fetchAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetails", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "Catalogs" ], "keys": null, "path": "src/pages/admin/Catalogs.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
374
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nMerge branch 'development' of https://github.com/gmrdaniel/laneta-crm into development\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"checkConnection\",\n \"handleLogin\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\",\n \"isAdminPath\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SystemLogsCard\",\n \"fetchLogs\",\n \"revertLog\",\n \"getActionTypeColor\",\n \"getModuleIcon\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/system/SystemLogsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"checkSession\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/AmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLog\",\n \"getUserId\",\n \"createAuditLog\",\n \"fallbackDirectFetch\",\n \"logPaymentUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/useAuditLog.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePaymentUpdate\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\",\n \"getServiceName\",\n \"getCreatorName\",\n \"formatPaymentPeriod\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleBrandStatusChange\",\n \"handleCreatorStatusChange\",\n \"handleGenerateMonthlyPayments\",\n \"handleUpdatePayment\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"filterByAction\",\n \"filterByTable\",\n \"filterByUser\",\n \"useAuditLogs\",\n \"fetchAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetails\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Catalogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Catalogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Connect to Supabase project Add Supabase configuration and types to the project.
{ "changed": [ "src/integrations/supabase/client.ts", "src/integrations/supabase/types.ts", "supabase/config.toml" ], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "checkConnection", "handleLogin" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound", "isAdminPath" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "SystemLogsCard", "fetchLogs", "revertLog", "getActionTypeColor", "getModuleIcon", "formatDate" ], "keys": null, "path": "src/components/system/SystemLogsCard.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/payments/update-form/FormActions.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/payments/update-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "checkSession" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "AmountFields" ], "keys": null, "path": "src/components/payments/update-form/AmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/payments/update-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/payments/update-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "useAuditLog", "getUserId", "createAuditLog", "fallbackDirectFetch", "logPaymentUpdate" ], "keys": null, "path": "src/components/payments/update-form/useAuditLog.ts", "selectors": null }, { "functions": [ "usePaymentUpdate", "handleSubmit" ], "keys": null, "path": "src/components/payments/update-form/usePaymentUpdate.ts", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor", "getServiceName", "getCreatorName", "formatPaymentPeriod" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleBrandStatusChange", "handleCreatorStatusChange", "handleGenerateMonthlyPayments", "handleUpdatePayment" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "filterByAction", "filterByTable", "filterByUser", "useAuditLogs", "fetchAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetails", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "Catalogs" ], "keys": null, "path": "src/pages/admin/Catalogs.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
375
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nConnect to Supabase project\n\nAdd Supabase configuration and types to the project.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"checkConnection\",\n \"handleLogin\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\",\n \"isAdminPath\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SystemLogsCard\",\n \"fetchLogs\",\n \"revertLog\",\n \"getActionTypeColor\",\n \"getModuleIcon\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/system/SystemLogsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"checkSession\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/AmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLog\",\n \"getUserId\",\n \"createAuditLog\",\n \"fallbackDirectFetch\",\n \"logPaymentUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/useAuditLog.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePaymentUpdate\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\",\n \"getServiceName\",\n \"getCreatorName\",\n \"formatPaymentPeriod\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleBrandStatusChange\",\n \"handleCreatorStatusChange\",\n \"handleGenerateMonthlyPayments\",\n \"handleUpdatePayment\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"filterByAction\",\n \"filterByTable\",\n \"filterByUser\",\n \"useAuditLogs\",\n \"fetchAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetails\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Catalogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Catalogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/integrations/supabase/client.ts\",\n \"src/integrations/supabase/types.ts\",\n \"supabase/config.toml\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Investigate login issue User reported being unable to log in to the system. This commit initiates an investigation into the cause of the login failure.
{ "changed": [ "src/hooks/useAuditLogs.ts", "src/hooks/useAuth.tsx", "src/integrations/supabase/client.ts", "src/pages/Auth.tsx", "src/pages/admin/CreatorDetail.tsx" ], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "checkConnection", "handleLogin" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound", "isAdminPath" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "SystemLogsCard", "fetchLogs", "revertLog", "getActionTypeColor", "getModuleIcon", "formatDate" ], "keys": null, "path": "src/components/system/SystemLogsCard.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/payments/update-form/FormActions.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/payments/update-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "checkSession" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "AmountFields" ], "keys": null, "path": "src/components/payments/update-form/AmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/payments/update-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/payments/update-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "useAuditLog", "getUserId", "createAuditLog", "fallbackDirectFetch", "logPaymentUpdate" ], "keys": null, "path": "src/components/payments/update-form/useAuditLog.ts", "selectors": null }, { "functions": [ "usePaymentUpdate", "handleSubmit" ], "keys": null, "path": "src/components/payments/update-form/usePaymentUpdate.ts", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor", "getServiceName", "getCreatorName", "formatPaymentPeriod" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleBrandStatusChange", "handleCreatorStatusChange", "handleGenerateMonthlyPayments", "handleUpdatePayment" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "filterByAction", "filterByTable", "filterByUser", "useAuditLogs", "fetchAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetails", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "Catalogs" ], "keys": null, "path": "src/pages/admin/Catalogs.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
376
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nInvestigate login issue\n\nUser reported being unable to log in to the system. This commit initiates an investigation into the cause of the login failure.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"checkConnection\",\n \"handleLogin\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\",\n \"isAdminPath\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SystemLogsCard\",\n \"fetchLogs\",\n \"revertLog\",\n \"getActionTypeColor\",\n \"getModuleIcon\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/system/SystemLogsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"checkSession\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/AmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLog\",\n \"getUserId\",\n \"createAuditLog\",\n \"fallbackDirectFetch\",\n \"logPaymentUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/useAuditLog.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePaymentUpdate\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\",\n \"getServiceName\",\n \"getCreatorName\",\n \"formatPaymentPeriod\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleBrandStatusChange\",\n \"handleCreatorStatusChange\",\n \"handleGenerateMonthlyPayments\",\n \"handleUpdatePayment\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"filterByAction\",\n \"filterByTable\",\n \"filterByUser\",\n \"useAuditLogs\",\n \"fetchAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetails\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Catalogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Catalogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/hooks/useAuditLogs.ts\",\n \"src/hooks/useAuth.tsx\",\n \"src/integrations/supabase/client.ts\",\n \"src/pages/Auth.tsx\",\n \"src/pages/admin/CreatorDetail.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Fix type errors in useAuditLogs Fixes type errors in the useAuditLogs hook related to action_type and AuditLog type.
{ "changed": [ "src/hooks/useAuditLogs.ts" ], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "checkConnection", "handleLogin" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound", "isAdminPath" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "SystemLogsCard", "fetchLogs", "revertLog", "getActionTypeColor", "getModuleIcon", "formatDate" ], "keys": null, "path": "src/components/system/SystemLogsCard.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/payments/update-form/FormActions.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/payments/update-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "checkSession" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "AmountFields" ], "keys": null, "path": "src/components/payments/update-form/AmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/payments/update-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/payments/update-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "useAuditLog", "getUserId", "createAuditLog", "fallbackDirectFetch", "logPaymentUpdate" ], "keys": null, "path": "src/components/payments/update-form/useAuditLog.ts", "selectors": null }, { "functions": [ "usePaymentUpdate", "handleSubmit" ], "keys": null, "path": "src/components/payments/update-form/usePaymentUpdate.ts", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor", "getServiceName", "getCreatorName", "formatPaymentPeriod" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleBrandStatusChange", "handleCreatorStatusChange", "handleGenerateMonthlyPayments", "handleUpdatePayment" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "filterByAction", "filterByTable", "filterByUser", "useAuditLogs", "fetchAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetails", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "Catalogs" ], "keys": null, "path": "src/pages/admin/Catalogs.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
377
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nFix type errors in useAuditLogs\n\nFixes type errors in the useAuditLogs hook related to action_type and AuditLog type.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"checkConnection\",\n \"handleLogin\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\",\n \"isAdminPath\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SystemLogsCard\",\n \"fetchLogs\",\n \"revertLog\",\n \"getActionTypeColor\",\n \"getModuleIcon\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/system/SystemLogsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"checkSession\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/AmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLog\",\n \"getUserId\",\n \"createAuditLog\",\n \"fallbackDirectFetch\",\n \"logPaymentUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/useAuditLog.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePaymentUpdate\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\",\n \"getServiceName\",\n \"getCreatorName\",\n \"formatPaymentPeriod\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleBrandStatusChange\",\n \"handleCreatorStatusChange\",\n \"handleGenerateMonthlyPayments\",\n \"handleUpdatePayment\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"filterByAction\",\n \"filterByTable\",\n \"filterByUser\",\n \"useAuditLogs\",\n \"fetchAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetails\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Catalogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Catalogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/hooks/useAuditLogs.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Update auth status message Update the auth status message in the Auth page.
{ "changed": [ "src/App.tsx", "src/components/ProtectedRoute.tsx" ], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "checkConnection", "handleLogin" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound", "isAdminPath" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "SystemLogsCard", "fetchLogs", "revertLog", "getActionTypeColor", "getModuleIcon", "formatDate" ], "keys": null, "path": "src/components/system/SystemLogsCard.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/payments/update-form/FormActions.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/payments/update-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "checkSession" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "AmountFields" ], "keys": null, "path": "src/components/payments/update-form/AmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/payments/update-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/payments/update-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "useAuditLog", "getUserId", "createAuditLog", "fallbackDirectFetch", "logPaymentUpdate" ], "keys": null, "path": "src/components/payments/update-form/useAuditLog.ts", "selectors": null }, { "functions": [ "usePaymentUpdate", "handleSubmit" ], "keys": null, "path": "src/components/payments/update-form/usePaymentUpdate.ts", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor", "getServiceName", "getCreatorName", "formatPaymentPeriod" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleBrandStatusChange", "handleCreatorStatusChange", "handleGenerateMonthlyPayments", "handleUpdatePayment" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs", "fetchAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetails", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "Catalogs" ], "keys": null, "path": "src/pages/admin/Catalogs.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
378
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nUpdate auth status message\n\nUpdate the auth status message in the Auth page.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"checkConnection\",\n \"handleLogin\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\",\n \"isAdminPath\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SystemLogsCard\",\n \"fetchLogs\",\n \"revertLog\",\n \"getActionTypeColor\",\n \"getModuleIcon\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/system/SystemLogsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"checkSession\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/AmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLog\",\n \"getUserId\",\n \"createAuditLog\",\n \"fallbackDirectFetch\",\n \"logPaymentUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/useAuditLog.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePaymentUpdate\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\",\n \"getServiceName\",\n \"getCreatorName\",\n \"formatPaymentPeriod\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleBrandStatusChange\",\n \"handleCreatorStatusChange\",\n \"handleGenerateMonthlyPayments\",\n \"handleUpdatePayment\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\",\n \"fetchAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetails\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Catalogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Catalogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/App.tsx\",\n \"src/components/ProtectedRoute.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Investigate infinite service calls Investigate and address the issue of infinite service calls occurring after a user is authorized.
{ "changed": [ "src/components/ProtectedRoute.tsx", "src/hooks/useAuth.tsx", "src/integrations/supabase/client.ts" ], "created": [], "deleted": [ "src/components/AuthProvider.tsx" ] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "checkConnection", "handleLogin" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound", "isAdminPath" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "SystemLogsCard", "fetchLogs", "revertLog", "getActionTypeColor", "getModuleIcon", "formatDate" ], "keys": null, "path": "src/components/system/SystemLogsCard.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/payments/update-form/FormActions.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/payments/update-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "checkSession" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "AmountFields" ], "keys": null, "path": "src/components/payments/update-form/AmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/payments/update-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/payments/update-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "useAuditLog", "getUserId", "createAuditLog", "fallbackDirectFetch", "logPaymentUpdate" ], "keys": null, "path": "src/components/payments/update-form/useAuditLog.ts", "selectors": null }, { "functions": [ "usePaymentUpdate", "handleSubmit" ], "keys": null, "path": "src/components/payments/update-form/usePaymentUpdate.ts", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor", "getServiceName", "getCreatorName", "formatPaymentPeriod" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleBrandStatusChange", "handleCreatorStatusChange", "handleGenerateMonthlyPayments", "handleUpdatePayment" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs", "fetchAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetails", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "Catalogs" ], "keys": null, "path": "src/pages/admin/Catalogs.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
379
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nInvestigate infinite service calls\n\nInvestigate and address the issue of infinite service calls occurring after a user is authorized.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"checkConnection\",\n \"handleLogin\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\",\n \"isAdminPath\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SystemLogsCard\",\n \"fetchLogs\",\n \"revertLog\",\n \"getActionTypeColor\",\n \"getModuleIcon\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/system/SystemLogsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"checkSession\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/AmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLog\",\n \"getUserId\",\n \"createAuditLog\",\n \"fallbackDirectFetch\",\n \"logPaymentUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/useAuditLog.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePaymentUpdate\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\",\n \"getServiceName\",\n \"getCreatorName\",\n \"formatPaymentPeriod\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleBrandStatusChange\",\n \"handleCreatorStatusChange\",\n \"handleGenerateMonthlyPayments\",\n \"handleUpdatePayment\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\",\n \"fetchAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetails\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Catalogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Catalogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/components/ProtectedRoute.tsx\",\n \"src/hooks/useAuth.tsx\",\n \"src/integrations/supabase/client.ts\"\n ],\n \"created\": [],\n \"deleted\": [\n \"src/components/AuthProvider.tsx\"\n ]\n}" } ]
gmrdaniel/grm-meta
Reverted to edit edt-458cf378-7ada-4912-9246-2e35fb2f5cbb: "Add logo and footer to Auth page Adds a logo to the top right corner of the Auth page and a footer with copyright information."
{ "changed": [ "package-lock.json", "package.json", "src/App.tsx", "src/components/ProtectedRoute.tsx", "src/components/audit/AuditLogsFilters.tsx", "src/components/audit/types.ts", "src/components/payments/ServicePaymentUpdateForm.tsx", "src/components/payments/update-form/useAuditLog.ts", "src/components/payments/update-form/usePaymentUpdate.ts", "src/hooks/useAuditLogs.ts", "src/hooks/useAuth.tsx", "src/integrations/supabase/client.ts", "src/pages/Auth.tsx", "src/pages/admin/CreatorDetail.tsx", "src/pages/admin/ServicePayments.tsx", "supabase/config.toml", "supabase/functions/send-invitation-email/index.ts" ], "created": [ "src/components/AuthProvider.tsx" ], "deleted": [ "scripts/apply-migrations.sh", "supabase/migrations/.gitkeep", "supabase/migrations/20250305_add_payment_action_type.sql", "supabase/migrations/20250305_fix_creator_detail_bank_details.sql", "supabase/migrations/README.md" ] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "testSupabaseConnection" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "checkConnection", "handleLogin" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound", "isAdminPath" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "SystemLogsCard", "fetchLogs", "revertLog", "getActionTypeColor", "getModuleIcon", "formatDate" ], "keys": null, "path": "src/components/system/SystemLogsCard.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/payments/update-form/FormActions.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/payments/update-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "checkSession" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "AmountFields" ], "keys": null, "path": "src/components/payments/update-form/AmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/payments/update-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/payments/update-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "useAuditLog", "getUserId", "createAuditLog", "fallbackDirectFetch", "logPaymentUpdate" ], "keys": null, "path": "src/components/payments/update-form/useAuditLog.ts", "selectors": null }, { "functions": [ "usePaymentUpdate", "handleSubmit" ], "keys": null, "path": "src/components/payments/update-form/usePaymentUpdate.ts", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor", "getServiceName", "getCreatorName", "formatPaymentPeriod" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleBrandStatusChange", "handleCreatorStatusChange", "handleGenerateMonthlyPayments", "handleUpdatePayment" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs", "fetchAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetails", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "Catalogs" ], "keys": null, "path": "src/pages/admin/Catalogs.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null } ]
380
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nReverted to edit edt-458cf378-7ada-4912-9246-2e35fb2f5cbb: \"Add logo and footer to Auth page\n\nAdds a logo to the top right corner of the Auth page and a footer with copyright information.\"\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"testSupabaseConnection\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"checkConnection\",\n \"handleLogin\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\",\n \"isAdminPath\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SystemLogsCard\",\n \"fetchLogs\",\n \"revertLog\",\n \"getActionTypeColor\",\n \"getModuleIcon\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/system/SystemLogsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"checkSession\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/AmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLog\",\n \"getUserId\",\n \"createAuditLog\",\n \"fallbackDirectFetch\",\n \"logPaymentUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/useAuditLog.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePaymentUpdate\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\",\n \"getServiceName\",\n \"getCreatorName\",\n \"formatPaymentPeriod\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleBrandStatusChange\",\n \"handleCreatorStatusChange\",\n \"handleGenerateMonthlyPayments\",\n \"handleUpdatePayment\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\",\n \"fetchAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetails\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Catalogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Catalogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"package-lock.json\",\n \"package.json\",\n \"src/App.tsx\",\n \"src/components/ProtectedRoute.tsx\",\n \"src/components/audit/AuditLogsFilters.tsx\",\n \"src/components/audit/types.ts\",\n \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"src/components/payments/update-form/useAuditLog.ts\",\n \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"src/hooks/useAuditLogs.ts\",\n \"src/hooks/useAuth.tsx\",\n \"src/integrations/supabase/client.ts\",\n \"src/pages/Auth.tsx\",\n \"src/pages/admin/CreatorDetail.tsx\",\n \"src/pages/admin/ServicePayments.tsx\",\n \"supabase/config.toml\",\n \"supabase/functions/send-invitation-email/index.ts\"\n ],\n \"created\": [\n \"src/components/AuthProvider.tsx\"\n ],\n \"deleted\": [\n \"scripts/apply-migrations.sh\",\n \"supabase/migrations/.gitkeep\",\n \"supabase/migrations/20250305_add_payment_action_type.sql\",\n \"supabase/migrations/20250305_fix_creator_detail_bank_details.sql\",\n \"supabase/migrations/README.md\"\n ]\n}" } ]
gmrdaniel/grm-meta
Reverted to edit edt-bf16e1a4-86ac-42a6-bb8e-0d5973499f9f: "Prepare for Edge Functions deployment This commit prepares the codebase for deploying Edge Functions, likely to facilitate migration to a new database."
{ "changed": [ "src/pages/Auth.tsx" ], "created": [], "deleted": [ "public/lovable-uploads/15012b70-aa4e-4950-b985-f3dc21b231b5.png" ] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "findInvitationByCode" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound", "isAdminPath" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "SystemLogsCard", "fetchLogs", "revertLog", "getActionTypeColor", "getModuleIcon", "formatDate" ], "keys": null, "path": "src/components/system/SystemLogsCard.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/payments/update-form/FormActions.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/payments/update-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "checkSession" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "AmountFields" ], "keys": null, "path": "src/components/payments/update-form/AmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/payments/update-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/payments/update-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "useAuditLog", "getUserId", "createAuditLog", "fallbackDirectFetch" ], "keys": null, "path": "src/components/payments/update-form/useAuditLog.ts", "selectors": null }, { "functions": [ "usePaymentUpdate", "handleSubmit" ], "keys": null, "path": "src/components/payments/update-form/usePaymentUpdate.ts", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor", "getServiceName", "getCreatorName", "formatPaymentPeriod" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleBrandStatusChange", "handleCreatorStatusChange", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "handleExport" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "Catalogs" ], "keys": null, "path": "src/pages/admin/Catalogs.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null } ]
381
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nReverted to edit edt-bf16e1a4-86ac-42a6-bb8e-0d5973499f9f: \"Prepare for Edge Functions deployment\n\nThis commit prepares the codebase for deploying Edge Functions, likely to facilitate migration to a new database.\"\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"findInvitationByCode\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\",\n \"isAdminPath\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SystemLogsCard\",\n \"fetchLogs\",\n \"revertLog\",\n \"getActionTypeColor\",\n \"getModuleIcon\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/system/SystemLogsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"checkSession\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/AmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLog\",\n \"getUserId\",\n \"createAuditLog\",\n \"fallbackDirectFetch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/useAuditLog.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePaymentUpdate\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\",\n \"getServiceName\",\n \"getCreatorName\",\n \"formatPaymentPeriod\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleBrandStatusChange\",\n \"handleCreatorStatusChange\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Catalogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Catalogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/pages/Auth.tsx\"\n ],\n \"created\": [],\n \"deleted\": [\n \"public/lovable-uploads/15012b70-aa4e-4950-b985-f3dc21b231b5.png\"\n ]\n}" } ]
gmrdaniel/grm-meta
apuntando a desarrollo
{ "changed": [ "src/integrations/supabase/client.ts" ], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "findInvitationByCode" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound", "isAdminPath" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "SystemLogsCard", "fetchLogs", "revertLog", "getActionTypeColor", "getModuleIcon", "formatDate" ], "keys": null, "path": "src/components/system/SystemLogsCard.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/payments/update-form/FormActions.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/payments/update-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "checkSession" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "AmountFields" ], "keys": null, "path": "src/components/payments/update-form/AmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/payments/update-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/payments/update-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "useAuditLog", "getUserId", "createAuditLog", "fallbackDirectFetch" ], "keys": null, "path": "src/components/payments/update-form/useAuditLog.ts", "selectors": null }, { "functions": [ "usePaymentUpdate", "handleSubmit" ], "keys": null, "path": "src/components/payments/update-form/usePaymentUpdate.ts", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor", "getServiceName", "getCreatorName", "formatPaymentPeriod" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleBrandStatusChange", "handleCreatorStatusChange", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "handleExport" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "Catalogs" ], "keys": null, "path": "src/pages/admin/Catalogs.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null } ]
382
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\napuntando a desarrollo\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"findInvitationByCode\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\",\n \"isAdminPath\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SystemLogsCard\",\n \"fetchLogs\",\n \"revertLog\",\n \"getActionTypeColor\",\n \"getModuleIcon\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/system/SystemLogsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"checkSession\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/AmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLog\",\n \"getUserId\",\n \"createAuditLog\",\n \"fallbackDirectFetch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/useAuditLog.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePaymentUpdate\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\",\n \"getServiceName\",\n \"getCreatorName\",\n \"formatPaymentPeriod\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleBrandStatusChange\",\n \"handleCreatorStatusChange\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Catalogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Catalogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/integrations/supabase/client.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Configure Supabase client for Vercel Updates the Supabase client configuration to ensure Lovable can connect when deployed on Vercel. This involves modifying the development environment variables in `client.ts`.
{ "changed": [ "src/integrations/supabase/client.ts" ], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "findInvitationByCode" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound", "isAdminPath" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "SystemLogsCard", "fetchLogs", "revertLog", "getActionTypeColor", "getModuleIcon", "formatDate" ], "keys": null, "path": "src/components/system/SystemLogsCard.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/payments/update-form/FormActions.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/payments/update-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "checkSession" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "AmountFields" ], "keys": null, "path": "src/components/payments/update-form/AmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/payments/update-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/payments/update-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "useAuditLog", "getUserId", "createAuditLog", "fallbackDirectFetch" ], "keys": null, "path": "src/components/payments/update-form/useAuditLog.ts", "selectors": null }, { "functions": [ "usePaymentUpdate", "handleSubmit" ], "keys": null, "path": "src/components/payments/update-form/usePaymentUpdate.ts", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor", "getServiceName", "getCreatorName", "formatPaymentPeriod" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleBrandStatusChange", "handleCreatorStatusChange", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "handleExport" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "Catalogs" ], "keys": null, "path": "src/pages/admin/Catalogs.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null } ]
383
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nConfigure Supabase client for Vercel\n\nUpdates the Supabase client configuration to ensure Lovable can connect when deployed on Vercel. This involves modifying the development environment variables in `client.ts`.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"findInvitationByCode\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\",\n \"isAdminPath\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SystemLogsCard\",\n \"fetchLogs\",\n \"revertLog\",\n \"getActionTypeColor\",\n \"getModuleIcon\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/system/SystemLogsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"checkSession\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/AmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLog\",\n \"getUserId\",\n \"createAuditLog\",\n \"fallbackDirectFetch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/useAuditLog.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePaymentUpdate\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\",\n \"getServiceName\",\n \"getCreatorName\",\n \"formatPaymentPeriod\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleBrandStatusChange\",\n \"handleCreatorStatusChange\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Catalogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Catalogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/integrations/supabase/client.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Run SQL migrations
{ "changed": [ "src/App.tsx", "src/components/sidebar/navigation-items.tsx", "src/components/ui/textarea.tsx", "src/integrations/supabase/types.ts" ], "created": [ "src/components/Spinner.tsx", "src/components/migrations/MigrationsList.tsx", "src/components/migrations/NewMigrationForm.tsx", "src/pages/admin/DbMigrations.tsx" ], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "findInvitationByCode" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound", "isAdminPath" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "SystemLogsCard", "fetchLogs", "revertLog", "getActionTypeColor", "getModuleIcon", "formatDate" ], "keys": null, "path": "src/components/system/SystemLogsCard.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/payments/update-form/FormActions.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/payments/update-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "checkSession" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "AmountFields" ], "keys": null, "path": "src/components/payments/update-form/AmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/payments/update-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/payments/update-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "useAuditLog", "getUserId", "createAuditLog", "fallbackDirectFetch" ], "keys": null, "path": "src/components/payments/update-form/useAuditLog.ts", "selectors": null }, { "functions": [ "usePaymentUpdate", "handleSubmit" ], "keys": null, "path": "src/components/payments/update-form/usePaymentUpdate.ts", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor", "getServiceName", "getCreatorName", "formatPaymentPeriod" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleBrandStatusChange", "handleCreatorStatusChange", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "handleExport" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "Catalogs" ], "keys": null, "path": "src/pages/admin/Catalogs.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null } ]
384
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nRun SQL migrations\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"findInvitationByCode\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\",\n \"isAdminPath\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SystemLogsCard\",\n \"fetchLogs\",\n \"revertLog\",\n \"getActionTypeColor\",\n \"getModuleIcon\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/system/SystemLogsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"checkSession\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/AmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLog\",\n \"getUserId\",\n \"createAuditLog\",\n \"fallbackDirectFetch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/useAuditLog.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePaymentUpdate\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\",\n \"getServiceName\",\n \"getCreatorName\",\n \"formatPaymentPeriod\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleBrandStatusChange\",\n \"handleCreatorStatusChange\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Catalogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Catalogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/App.tsx\",\n \"src/components/sidebar/navigation-items.tsx\",\n \"src/components/ui/textarea.tsx\",\n \"src/integrations/supabase/types.ts\"\n ],\n \"created\": [\n \"src/components/Spinner.tsx\",\n \"src/components/migrations/MigrationsList.tsx\",\n \"src/components/migrations/NewMigrationForm.tsx\",\n \"src/pages/admin/DbMigrations.tsx\"\n ],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Fix typescript errors Fixes typescript errors related to missing exports and duplicate identifiers.
{ "changed": [ "src/App.tsx", "src/components/ProtectedRoute.tsx", "src/components/Sidebar.tsx" ], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "findInvitationByCode" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound", "isAdminPath" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "SystemLogsCard", "fetchLogs", "revertLog", "getActionTypeColor", "getModuleIcon", "formatDate" ], "keys": null, "path": "src/components/system/SystemLogsCard.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/payments/update-form/FormActions.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/payments/update-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "checkSession" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "AmountFields" ], "keys": null, "path": "src/components/payments/update-form/AmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/payments/update-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/payments/update-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "useAuditLog", "getUserId", "createAuditLog", "fallbackDirectFetch" ], "keys": null, "path": "src/components/payments/update-form/useAuditLog.ts", "selectors": null }, { "functions": [ "usePaymentUpdate", "handleSubmit" ], "keys": null, "path": "src/components/payments/update-form/usePaymentUpdate.ts", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor", "getServiceName", "getCreatorName", "formatPaymentPeriod" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleBrandStatusChange", "handleCreatorStatusChange", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "handleExport" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "Catalogs" ], "keys": null, "path": "src/pages/admin/Catalogs.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null }, { "functions": [ "Spinner" ], "keys": null, "path": "src/components/Spinner.tsx", "selectors": null }, { "functions": [ "MigrationsList", "handleViewSql", "handleCopySql" ], "keys": null, "path": "src/components/migrations/MigrationsList.tsx", "selectors": null }, { "functions": [ "NewMigrationForm" ], "keys": null, "path": "src/components/migrations/NewMigrationForm.tsx", "selectors": null }, { "functions": [ "DbMigrations", "fetchMigrations", "handleNewMigration" ], "keys": null, "path": "src/pages/admin/DbMigrations.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null } ]
385
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nFix typescript errors\n\nFixes typescript errors related to missing exports and duplicate identifiers.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"findInvitationByCode\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\",\n \"isAdminPath\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SystemLogsCard\",\n \"fetchLogs\",\n \"revertLog\",\n \"getActionTypeColor\",\n \"getModuleIcon\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/system/SystemLogsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"checkSession\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/AmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLog\",\n \"getUserId\",\n \"createAuditLog\",\n \"fallbackDirectFetch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/useAuditLog.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePaymentUpdate\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\",\n \"getServiceName\",\n \"getCreatorName\",\n \"formatPaymentPeriod\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleBrandStatusChange\",\n \"handleCreatorStatusChange\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Catalogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Catalogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Spinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Spinner.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MigrationsList\",\n \"handleViewSql\",\n \"handleCopySql\"\n ],\n \"keys\": null,\n \"path\": \"src/components/migrations/MigrationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewMigrationForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/migrations/NewMigrationForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DbMigrations\",\n \"fetchMigrations\",\n \"handleNewMigration\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/DbMigrations.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/App.tsx\",\n \"src/components/ProtectedRoute.tsx\",\n \"src/components/Sidebar.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Fix: Resolve Typescript errors in Sidebar The Sidebar component was throwing Typescript errors due to incorrect type assignments. This commit fixes these errors by ensuring that the SidebarItem type matches the expected structure and properties.
{ "changed": [ "src/components/Sidebar.tsx", "src/components/sidebar/MobileSidebar.tsx", "src/components/sidebar/NavItem.tsx", "src/components/sidebar/types.ts" ], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "findInvitationByCode" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound", "isAdminPath" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "SystemLogsCard", "fetchLogs", "revertLog", "getActionTypeColor", "getModuleIcon", "formatDate" ], "keys": null, "path": "src/components/system/SystemLogsCard.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/payments/update-form/FormActions.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/payments/update-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "checkSession" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "AmountFields" ], "keys": null, "path": "src/components/payments/update-form/AmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/payments/update-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/payments/update-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "useAuditLog", "getUserId", "createAuditLog", "fallbackDirectFetch" ], "keys": null, "path": "src/components/payments/update-form/useAuditLog.ts", "selectors": null }, { "functions": [ "usePaymentUpdate", "handleSubmit" ], "keys": null, "path": "src/components/payments/update-form/usePaymentUpdate.ts", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor", "getServiceName", "getCreatorName", "formatPaymentPeriod" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleBrandStatusChange", "handleCreatorStatusChange", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "handleExport" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "Catalogs" ], "keys": null, "path": "src/pages/admin/Catalogs.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null }, { "functions": [ "Spinner" ], "keys": null, "path": "src/components/Spinner.tsx", "selectors": null }, { "functions": [ "MigrationsList", "handleViewSql", "handleCopySql" ], "keys": null, "path": "src/components/migrations/MigrationsList.tsx", "selectors": null }, { "functions": [ "NewMigrationForm" ], "keys": null, "path": "src/components/migrations/NewMigrationForm.tsx", "selectors": null }, { "functions": [ "DbMigrations", "fetchMigrations", "handleNewMigration" ], "keys": null, "path": "src/pages/admin/DbMigrations.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null } ]
386
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nFix: Resolve Typescript errors in Sidebar\n\nThe Sidebar component was throwing Typescript errors due to incorrect type assignments. This commit fixes these errors by ensuring that the SidebarItem type matches the expected structure and properties.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"findInvitationByCode\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\",\n \"isAdminPath\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SystemLogsCard\",\n \"fetchLogs\",\n \"revertLog\",\n \"getActionTypeColor\",\n \"getModuleIcon\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/system/SystemLogsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"checkSession\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/AmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLog\",\n \"getUserId\",\n \"createAuditLog\",\n \"fallbackDirectFetch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/useAuditLog.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePaymentUpdate\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\",\n \"getServiceName\",\n \"getCreatorName\",\n \"formatPaymentPeriod\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleBrandStatusChange\",\n \"handleCreatorStatusChange\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Catalogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Catalogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Spinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Spinner.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MigrationsList\",\n \"handleViewSql\",\n \"handleCopySql\"\n ],\n \"keys\": null,\n \"path\": \"src/components/migrations/MigrationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewMigrationForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/migrations/NewMigrationForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DbMigrations\",\n \"fetchMigrations\",\n \"handleNewMigration\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/DbMigrations.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/components/Sidebar.tsx\",\n \"src/components/sidebar/MobileSidebar.tsx\",\n \"src/components/sidebar/NavItem.tsx\",\n \"src/components/sidebar/types.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Reverted to edit edt-0480f5e0-869b-4757-bcae-42d85dd04070: "Configure Supabase client for Vercel Updates the Supabase client configuration to ensure Lovable can connect when deployed on Vercel. This involves modifying the development environment variables in `client.ts`."
{ "changed": [ "src/App.tsx", "src/components/ProtectedRoute.tsx", "src/components/Sidebar.tsx", "src/components/sidebar/MobileSidebar.tsx", "src/components/sidebar/NavItem.tsx", "src/components/sidebar/navigation-items.tsx", "src/components/sidebar/types.ts", "src/components/ui/textarea.tsx", "src/integrations/supabase/types.ts" ], "created": [], "deleted": [ "src/components/Spinner.tsx", "src/components/migrations/MigrationsList.tsx", "src/components/migrations/NewMigrationForm.tsx", "src/pages/admin/DbMigrations.tsx" ] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "findInvitationByCode" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound", "isAdminPath" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "SystemLogsCard", "fetchLogs", "revertLog", "getActionTypeColor", "getModuleIcon", "formatDate" ], "keys": null, "path": "src/components/system/SystemLogsCard.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/payments/update-form/FormActions.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/payments/update-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "checkSession" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "AmountFields" ], "keys": null, "path": "src/components/payments/update-form/AmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/payments/update-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/payments/update-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "useAuditLog", "getUserId", "createAuditLog", "fallbackDirectFetch" ], "keys": null, "path": "src/components/payments/update-form/useAuditLog.ts", "selectors": null }, { "functions": [ "usePaymentUpdate", "handleSubmit" ], "keys": null, "path": "src/components/payments/update-form/usePaymentUpdate.ts", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor", "getServiceName", "getCreatorName", "formatPaymentPeriod" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleBrandStatusChange", "handleCreatorStatusChange", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "handleExport" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "Catalogs" ], "keys": null, "path": "src/pages/admin/Catalogs.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null }, { "functions": [ "Spinner" ], "keys": null, "path": "src/components/Spinner.tsx", "selectors": null }, { "functions": [ "MigrationsList", "handleViewSql", "handleCopySql" ], "keys": null, "path": "src/components/migrations/MigrationsList.tsx", "selectors": null }, { "functions": [ "NewMigrationForm" ], "keys": null, "path": "src/components/migrations/NewMigrationForm.tsx", "selectors": null }, { "functions": [ "DbMigrations", "fetchMigrations", "handleNewMigration" ], "keys": null, "path": "src/pages/admin/DbMigrations.tsx", "selectors": null }, { "functions": [ "getSidebarItems" ], "keys": null, "path": "src/components/sidebar/navigation-items.tsx", "selectors": null } ]
387
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nReverted to edit edt-0480f5e0-869b-4757-bcae-42d85dd04070: \"Configure Supabase client for Vercel\n\nUpdates the Supabase client configuration to ensure Lovable can connect when deployed on Vercel. This involves modifying the development environment variables in `client.ts`.\"\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"findInvitationByCode\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\",\n \"isAdminPath\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SystemLogsCard\",\n \"fetchLogs\",\n \"revertLog\",\n \"getActionTypeColor\",\n \"getModuleIcon\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/system/SystemLogsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"checkSession\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/AmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLog\",\n \"getUserId\",\n \"createAuditLog\",\n \"fallbackDirectFetch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/useAuditLog.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePaymentUpdate\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\",\n \"getServiceName\",\n \"getCreatorName\",\n \"formatPaymentPeriod\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleBrandStatusChange\",\n \"handleCreatorStatusChange\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Catalogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Catalogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Spinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Spinner.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MigrationsList\",\n \"handleViewSql\",\n \"handleCopySql\"\n ],\n \"keys\": null,\n \"path\": \"src/components/migrations/MigrationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewMigrationForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/migrations/NewMigrationForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DbMigrations\",\n \"fetchMigrations\",\n \"handleNewMigration\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/DbMigrations.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSidebarItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/navigation-items.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/App.tsx\",\n \"src/components/ProtectedRoute.tsx\",\n \"src/components/Sidebar.tsx\",\n \"src/components/sidebar/MobileSidebar.tsx\",\n \"src/components/sidebar/NavItem.tsx\",\n \"src/components/sidebar/navigation-items.tsx\",\n \"src/components/sidebar/types.ts\",\n \"src/components/ui/textarea.tsx\",\n \"src/integrations/supabase/types.ts\"\n ],\n \"created\": [],\n \"deleted\": [\n \"src/components/Spinner.tsx\",\n \"src/components/migrations/MigrationsList.tsx\",\n \"src/components/migrations/NewMigrationForm.tsx\",\n \"src/pages/admin/DbMigrations.tsx\"\n ]\n}" } ]
gmrdaniel/grm-meta
Add environment-based email validation The email sending logic in the send-invitation-email function was updated to send emails to [email protected] in development and [email protected] in production.
{ "changed": [ "src/integrations/supabase/types.ts", "supabase/config.toml", "supabase/functions/send-invitation-email/index.ts" ], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "findInvitationByCode" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound", "isAdminPath" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "SystemLogsCard", "fetchLogs", "revertLog", "getActionTypeColor", "getModuleIcon", "formatDate" ], "keys": null, "path": "src/components/system/SystemLogsCard.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/payments/update-form/FormActions.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/payments/update-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "checkSession" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "AmountFields" ], "keys": null, "path": "src/components/payments/update-form/AmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/payments/update-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/payments/update-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "useAuditLog", "getUserId", "createAuditLog", "fallbackDirectFetch" ], "keys": null, "path": "src/components/payments/update-form/useAuditLog.ts", "selectors": null }, { "functions": [ "usePaymentUpdate", "handleSubmit" ], "keys": null, "path": "src/components/payments/update-form/usePaymentUpdate.ts", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor", "getServiceName", "getCreatorName", "formatPaymentPeriod" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleBrandStatusChange", "handleCreatorStatusChange", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "handleExport" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "Catalogs" ], "keys": null, "path": "src/pages/admin/Catalogs.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
388
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nAdd environment-based email validation\n\nThe email sending logic in the send-invitation-email function was updated to send emails to [email protected] in development and [email protected] in production.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"findInvitationByCode\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\",\n \"isAdminPath\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SystemLogsCard\",\n \"fetchLogs\",\n \"revertLog\",\n \"getActionTypeColor\",\n \"getModuleIcon\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/system/SystemLogsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"checkSession\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/AmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLog\",\n \"getUserId\",\n \"createAuditLog\",\n \"fallbackDirectFetch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/useAuditLog.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePaymentUpdate\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\",\n \"getServiceName\",\n \"getCreatorName\",\n \"formatPaymentPeriod\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleBrandStatusChange\",\n \"handleCreatorStatusChange\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Catalogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Catalogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/integrations/supabase/types.ts\",\n \"supabase/config.toml\",\n \"supabase/functions/send-invitation-email/index.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
agregar logo
{ "changed": [ "src/pages/Auth.tsx" ], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "findInvitationByCode" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound", "isAdminPath" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "SystemLogsCard", "fetchLogs", "revertLog", "getActionTypeColor", "getModuleIcon", "formatDate" ], "keys": null, "path": "src/components/system/SystemLogsCard.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/payments/update-form/FormActions.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/payments/update-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "checkSession" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "AmountFields" ], "keys": null, "path": "src/components/payments/update-form/AmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/payments/update-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/payments/update-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "useAuditLog", "getUserId", "createAuditLog", "fallbackDirectFetch" ], "keys": null, "path": "src/components/payments/update-form/useAuditLog.ts", "selectors": null }, { "functions": [ "usePaymentUpdate", "handleSubmit" ], "keys": null, "path": "src/components/payments/update-form/usePaymentUpdate.ts", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor", "getServiceName", "getCreatorName", "formatPaymentPeriod" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleBrandStatusChange", "handleCreatorStatusChange", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "handleExport" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "Catalogs" ], "keys": null, "path": "src/pages/admin/Catalogs.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
389
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nagregar logo\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"findInvitationByCode\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\",\n \"isAdminPath\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SystemLogsCard\",\n \"fetchLogs\",\n \"revertLog\",\n \"getActionTypeColor\",\n \"getModuleIcon\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/system/SystemLogsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"checkSession\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/AmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLog\",\n \"getUserId\",\n \"createAuditLog\",\n \"fallbackDirectFetch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/useAuditLog.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePaymentUpdate\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\",\n \"getServiceName\",\n \"getCreatorName\",\n \"formatPaymentPeriod\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleBrandStatusChange\",\n \"handleCreatorStatusChange\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Catalogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Catalogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/pages/Auth.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Fix image display issue The image /lovable-uploads/15012b70-aa4e-4950-b985-f3dc21b231b5.png was not displaying correctly. This commit addresses this issue.
{ "changed": [ "src/pages/Auth.tsx" ], "created": [], "deleted": [] }
[ { "functions": null, "keys": [ "name", "private", "version", "type", "scripts", "dependencies", "devDependencies" ], "path": "package.json", "selectors": null }, { "functions": null, "keys": [ "files", "references", "compilerOptions" ], "path": "tsconfig.json", "selectors": null }, { "functions": null, "keys": [ "name", "version", "lockfileVersion", "requires", "packages" ], "path": "package-lock.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": null, "path": "src/App.css", "selectors": [ "#root", ".read-the-docs", "hover", ".logo", "from", "logo-spin", "to", ".card", ".react" ] }, { "functions": null, "keys": null, "path": "src/index.css", "selectors": [ "body", ".fade-enter", ".slide-enter", "root", ".slide-enter-active", ".fade-enter-active", "base" ] }, { "functions": [ "App" ], "keys": null, "path": "src/App.tsx", "selectors": null }, { "functions": [ "StatsCard" ], "keys": null, "path": "src/components/StatsCard.tsx", "selectors": null }, { "functions": [ "Sidebar", "handleLogout" ], "keys": null, "path": "src/components/Sidebar.tsx", "selectors": null }, { "functions": [ "ProtectedRoute", "getUserRole" ], "keys": null, "path": "src/components/ProtectedRoute.tsx", "selectors": null }, { "functions": [ "Header", "fetchNotifications", "markAsRead", "handleLogout" ], "keys": null, "path": "src/components/Header.tsx", "selectors": null }, { "functions": [ "PersonalInfoCard" ], "keys": null, "path": "src/components/creator/PersonalInfoCard.tsx", "selectors": null }, { "functions": [ "NotificationsCard", "fetchNotifications", "markAsRead" ], "keys": null, "path": "src/components/creator/NotificationsCard.tsx", "selectors": null }, { "functions": [ "DialogHeader", "DialogFooter" ], "keys": null, "path": "src/components/ui/dialog.tsx", "selectors": null }, { "functions": [ "ContextMenuShortcut" ], "keys": null, "path": "src/components/ui/context-menu.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/components/ui/textarea.tsx", "selectors": null }, { "functions": [ "MenubarShortcut" ], "keys": null, "path": "src/components/ui/menubar.tsx", "selectors": null }, { "functions": [ "DatePicker" ], "keys": null, "path": "src/components/ui/date-picker.tsx", "selectors": null }, { "functions": [ "BreadcrumbSeparator", "BreadcrumbEllipsis" ], "keys": null, "path": "src/components/ui/breadcrumb.tsx", "selectors": null }, { "functions": [ "Drawer", "DrawerHeader", "DrawerFooter" ], "keys": null, "path": "src/components/ui/drawer.tsx", "selectors": null }, { "functions": [ "Toaster" ], "keys": null, "path": "src/components/ui/toaster.tsx", "selectors": null }, { "functions": [ "SheetHeader", "SheetFooter" ], "keys": null, "path": "src/components/ui/sheet.tsx", "selectors": null }, { "functions": [ "useSidebar", "setOpenProp", "handleKeyDown" ], "keys": null, "path": "src/components/ui/sidebar.tsx", "selectors": null }, { "functions": [ "Badge" ], "keys": null, "path": "src/components/ui/badge.tsx", "selectors": null }, { "functions": [ "Calendar" ], "keys": null, "path": "src/components/ui/calendar.tsx", "selectors": null }, { "functions": [ "useCarousel" ], "keys": null, "path": "src/components/ui/carousel.tsx", "selectors": null }, { "functions": [ "DropdownMenuShortcut" ], "keys": null, "path": "src/components/ui/dropdown-menu.tsx", "selectors": null }, { "functions": [ "Skeleton" ], "keys": null, "path": "src/components/ui/skeleton.tsx", "selectors": null }, { "functions": [ "Pagination", "PaginationPrevious", "PaginationNext", "PaginationEllipsis" ], "keys": null, "path": "src/components/ui/pagination.tsx", "selectors": null }, { "functions": [ "AlertDialogHeader", "AlertDialogFooter" ], "keys": null, "path": "src/components/ui/alert-dialog.tsx", "selectors": null }, { "functions": [ "useChart", "getPayloadConfigFromPayload" ], "keys": null, "path": "src/components/ui/chart.tsx", "selectors": null }, { "functions": [ "CommandDialog", "CommandShortcut" ], "keys": null, "path": "src/components/ui/command.tsx", "selectors": null }, { "functions": [ "ResizablePanelGroup" ], "keys": null, "path": "src/components/ui/resizable.tsx", "selectors": null }, { "functions": [ "DateSelector" ], "keys": null, "path": "src/components/creator-services/payment-form/DateSelector.tsx", "selectors": null }, { "functions": [ "SocialMediaInputs" ], "keys": null, "path": "src/components/profile/SocialMediaInputs.tsx", "selectors": null }, { "functions": [ "PersonalInfoInputs" ], "keys": null, "path": "src/components/profile/PersonalInfoInputs.tsx", "selectors": null }, { "functions": [ "ProfilePhotoUpload", "handleFileChange" ], "keys": null, "path": "src/components/profile/ProfilePhotoUpload.tsx", "selectors": null }, { "functions": [ "NavItem" ], "keys": null, "path": "src/components/sidebar/NavItem.tsx", "selectors": null }, { "functions": [ "MobileSidebar" ], "keys": null, "path": "src/components/sidebar/MobileSidebar.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "findInvitationByCode" ], "keys": null, "path": "src/integrations/supabase/client.ts", "selectors": null }, { "functions": [ "AuthProvider", "fetchSession", "useAuth" ], "keys": null, "path": "src/hooks/useAuth.tsx", "selectors": null }, { "functions": [ "genId", "addToRemoveQueue", "reducer", "dispatch", "toast", "update", "dismiss" ], "keys": null, "path": "src/hooks/use-toast.ts", "selectors": null }, { "functions": [ "useIsMobile", "onChange" ], "keys": null, "path": "src/hooks/use-mobile.tsx", "selectors": null }, { "functions": [ "Auth", "handleSubmit", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/pages/Auth.tsx", "selectors": null }, { "functions": [ "Index" ], "keys": null, "path": "src/pages/Index.tsx", "selectors": null }, { "functions": [ "NotFound", "isAdminPath" ], "keys": null, "path": "src/pages/NotFound.tsx", "selectors": null }, { "functions": [ "CreatorDashboard", "checkPendingServices" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile", "fetchPersonalData", "handleSubmit", "handleInputChange", "handleSelectChange", "handlePhotoUpdate" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "SystemLogsCard", "fetchLogs", "revertLog", "getActionTypeColor", "getModuleIcon", "formatDate" ], "keys": null, "path": "src/components/system/SystemLogsCard.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/bulk-invite/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "copyToClipboard" ], "keys": null, "path": "src/components/creators/bulk-invite/CreatorsTable.tsx", "selectors": null }, { "functions": [ "DownloadTemplateButton", "downloadTemplate" ], "keys": null, "path": "src/components/creators/bulk-invite/DownloadTemplateButton.tsx", "selectors": null }, { "functions": [ "FileUploadButton" ], "keys": null, "path": "src/components/creators/bulk-invite/FileUploadButton.tsx", "selectors": null }, { "functions": [ "ProcessingStatus" ], "keys": null, "path": "src/components/creators/bulk-invite/ProcessingStatus.tsx", "selectors": null }, { "functions": [ "getDefaultService", "processExcelFile", "createInvitation" ], "keys": null, "path": "src/components/creators/bulk-invite/utils.ts", "selectors": null }, { "functions": [ "BankTransferFields" ], "keys": null, "path": "src/components/bank-details/BankTransferFields.tsx", "selectors": null }, { "functions": [ "BeneficiaryField" ], "keys": null, "path": "src/components/bank-details/BeneficiaryField.tsx", "selectors": null }, { "functions": [ "CountryField" ], "keys": null, "path": "src/components/bank-details/CountryField.tsx", "selectors": null }, { "functions": [ "PayPalField" ], "keys": null, "path": "src/components/bank-details/PayPalField.tsx", "selectors": null }, { "functions": [ "PaymentMethodField" ], "keys": null, "path": "src/components/bank-details/PaymentMethodField.tsx", "selectors": null }, { "functions": [ "CreatorServicesHeader" ], "keys": null, "path": "src/components/creator-services/CreatorServicesHeader.tsx", "selectors": null }, { "functions": [ "BankDetailsCard" ], "keys": null, "path": "src/components/creator/BankDetailsCard.tsx", "selectors": null }, { "functions": [ "AddCreatorForm", "handleAddCreator" ], "keys": null, "path": "src/components/creators/AddCreatorForm.tsx", "selectors": null }, { "functions": [ "BulkInviteCreators", "setDefaultService", "handleFileUpload" ], "keys": null, "path": "src/components/creators/BulkInviteCreators.tsx", "selectors": null }, { "functions": [ "CreatorsTable", "fetchCreatorsEmails" ], "keys": null, "path": "src/components/creators/CreatorsTable.tsx", "selectors": null }, { "functions": [ "InvitationsTable", "handleResendEmail", "handleCopyUrl" ], "keys": null, "path": "src/components/creators/InvitationsTable.tsx", "selectors": null }, { "functions": [ "InviteCreatorForm", "onSubmit" ], "keys": null, "path": "src/components/creators/InviteCreatorForm.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/payments/update-form/FormActions.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/payments/update-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "BasicInfoFields" ], "keys": null, "path": "src/components/services/form-sections/BasicInfoFields.tsx", "selectors": null }, { "functions": [ "CompanyShareFields" ], "keys": null, "path": "src/components/services/form-sections/CompanyShareFields.tsx", "selectors": null }, { "functions": [ "FeesAndDurationFields" ], "keys": null, "path": "src/components/services/form-sections/FeesAndDurationFields.tsx", "selectors": null }, { "functions": [ "RenewableField" ], "keys": null, "path": "src/components/services/form-sections/RenewableField.tsx", "selectors": null }, { "functions": [ "ServiceTypeField" ], "keys": null, "path": "src/components/services/form-sections/ServiceTypeField.tsx", "selectors": null }, { "functions": [ "TermsConditionsField" ], "keys": null, "path": "src/components/services/form-sections/TermsConditionsField.tsx", "selectors": null }, { "functions": [ "useBankDetails", "loadBankDetails", "onSubmit" ], "keys": null, "path": "src/hooks/useBankDetails.ts", "selectors": null }, { "functions": [ "CreatorBankDetail" ], "keys": null, "path": "src/pages/creator/BankDetail.tsx", "selectors": null }, { "functions": [ "useCreatorServices" ], "keys": null, "path": "src/components/creator-services/hooks/useCreatorServices.ts", "selectors": null }, { "functions": [ "PendingServicesDialog", "checkPendingServices", "acceptTerms" ], "keys": null, "path": "src/components/creator/PendingServicesDialog.tsx", "selectors": null }, { "functions": [ "CreatorServices", "handleServiceSelect", "handlePaymentComplete" ], "keys": null, "path": "src/pages/admin/CreatorServices.tsx", "selectors": null }, { "functions": [ "DownloadRatesTemplate", "downloadTemplate" ], "keys": null, "path": "src/components/creator-rates/components/DownloadRatesTemplate.tsx", "selectors": null }, { "functions": [ "Filters" ], "keys": null, "path": "src/components/creator-rates/components/Filters.tsx", "selectors": null }, { "functions": [ "RatesImportPreview", "handleConfirmImport" ], "keys": null, "path": "src/components/creator-rates/components/RatesImportPreview.tsx", "selectors": null }, { "functions": [ "RatesTable" ], "keys": null, "path": "src/components/creator-rates/components/RatesTable.tsx", "selectors": null }, { "functions": [ "useRatesData" ], "keys": null, "path": "src/components/creator-rates/hooks/useRatesData.ts", "selectors": null }, { "functions": [ "ServicePaymentForm", "checkServiceType", "onSubmit" ], "keys": null, "path": "src/components/creator-services/ServicePaymentForm.tsx", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/components/creator-services/hooks/useServices.ts", "selectors": null }, { "functions": [ "PaymentAmountFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentAmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "PaymentStatusFields" ], "keys": null, "path": "src/components/creator-services/payment-form/PaymentStatusFields.tsx", "selectors": null }, { "functions": [ "ServicesCard", "getStatusBadgeVariant" ], "keys": null, "path": "src/components/creator/ServicesCard.tsx", "selectors": null }, { "functions": [ "ServicePaymentUpdateForm", "checkSession" ], "keys": null, "path": "src/components/payments/ServicePaymentUpdateForm.tsx", "selectors": null }, { "functions": [ "AmountFields" ], "keys": null, "path": "src/components/payments/update-form/AmountFields.tsx", "selectors": null }, { "functions": [ "PaymentMonthField" ], "keys": null, "path": "src/components/payments/update-form/PaymentMonthField.tsx", "selectors": null }, { "functions": [ "PaymentReceiptField" ], "keys": null, "path": "src/components/payments/update-form/PaymentReceiptField.tsx", "selectors": null }, { "functions": [ "useAuditLog", "getUserId", "createAuditLog", "fallbackDirectFetch" ], "keys": null, "path": "src/components/payments/update-form/useAuditLog.ts", "selectors": null }, { "functions": [ "usePaymentUpdate", "handleSubmit" ], "keys": null, "path": "src/components/payments/update-form/usePaymentUpdate.ts", "selectors": null }, { "functions": [ "ServicePaymentsHeader" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsHeader.tsx", "selectors": null }, { "functions": [ "ServicePaymentsTable", "getStatusBadgeColor", "getServiceName", "getCreatorName", "formatPaymentPeriod" ], "keys": null, "path": "src/components/service-payments/ServicePaymentsTable.tsx", "selectors": null }, { "functions": [ "useAutomaticPayments", "createPayment", "generateMonthlyPayments" ], "keys": null, "path": "src/hooks/useAutomaticPayments.ts", "selectors": null }, { "functions": [ "ServicePayments", "handlePaymentSelect", "handleEditClose", "handleBrandStatusChange", "handleCreatorStatusChange", "handleGenerateMonthlyPayments" ], "keys": null, "path": "src/pages/admin/ServicePayments.tsx", "selectors": null }, { "functions": [ "handleSubmit" ], "keys": null, "path": "src/pages/admin/Services.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.tsx", "selectors": null }, { "functions": [ "CreatorServicesTable" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTable.tsx", "selectors": null }, { "functions": [ "CreatorServicesTableContent" ], "keys": null, "path": "src/components/creator-services/CreatorServicesTableContent.tsx", "selectors": null }, { "functions": [ "PendingServiceCard" ], "keys": null, "path": "src/components/services/PendingServiceCard.tsx", "selectors": null }, { "functions": [ "ServiceForm" ], "keys": null, "path": "src/components/services/ServiceForm.tsx", "selectors": null }, { "functions": [ "ServicesTable" ], "keys": null, "path": "src/components/services/ServicesTable.tsx", "selectors": null }, { "functions": [ "SignedServiceCard" ], "keys": null, "path": "src/components/services/SignedServiceCard.tsx", "selectors": null }, { "functions": [ "TermsContent" ], "keys": null, "path": "src/components/services/TermsContent.tsx", "selectors": null }, { "functions": [ "Campaigns" ], "keys": null, "path": "src/pages/creator/Campaigns.tsx", "selectors": null }, { "functions": [ "PendingServices", "fetchServices", "acceptTerms" ], "keys": null, "path": "src/pages/creator/PendingServices.tsx", "selectors": null }, { "functions": [ "Services", "fetchServices" ], "keys": null, "path": "src/pages/creator/Services.tsx", "selectors": null }, { "functions": [ "handleExport" ], "keys": null, "path": "src/components/audit/AuditLogsFilters.tsx", "selectors": null }, { "functions": [ "AuditLogsTable", "handleRevert", "getActionBadgeColor" ], "keys": null, "path": "src/components/audit/AuditLogsTable.tsx", "selectors": null }, { "functions": [ "CreatorRateDialog", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateDialog.tsx", "selectors": null }, { "functions": [ "CreatorRateForm", "onSubmit" ], "keys": null, "path": "src/components/creator-rates/CreatorRateForm.tsx", "selectors": null }, { "functions": [ "CreatorSearch", "handleSuccess" ], "keys": null, "path": "src/components/creator-rates/CreatorSearch.tsx", "selectors": null }, { "functions": [ "RatesImportTab", "handleFileSelect" ], "keys": null, "path": "src/components/creator-rates/RatesImportTab.tsx", "selectors": null }, { "functions": [ "RatesList", "handleFilterChange", "handleReset" ], "keys": null, "path": "src/components/creator-rates/RatesList.tsx", "selectors": null }, { "functions": [ "PostTypeDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/PostTypeDialog.tsx", "selectors": null }, { "functions": [ "SocialPlatformDialog", "onSubmit" ], "keys": null, "path": "src/components/post-types/SocialPlatformDialog.tsx", "selectors": null }, { "functions": [ "PlatformsTab" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTab.tsx", "selectors": null }, { "functions": [ "PlatformsTable", "togglePlatformStatus" ], "keys": null, "path": "src/components/post-types/platform/PlatformsTable.tsx", "selectors": null }, { "functions": [ "PostTypesTab" ], "keys": null, "path": "src/components/post-types/types/PostTypesTab.tsx", "selectors": null }, { "functions": [ "groupPostTypesBySocialPlatform", "PostTypesTable", "togglePostTypeStatus" ], "keys": null, "path": "src/components/post-types/types/PostTypesTable.tsx", "selectors": null }, { "functions": [ "useAuditLogs" ], "keys": null, "path": "src/hooks/useAuditLogs.ts", "selectors": null }, { "functions": [ "useServicePayments" ], "keys": null, "path": "src/hooks/useServicePayments.ts", "selectors": null }, { "functions": [ "useServices" ], "keys": null, "path": "src/hooks/useServices.ts", "selectors": null }, { "functions": [ "AuditLogs" ], "keys": null, "path": "src/pages/admin/AuditLogs.tsx", "selectors": null }, { "functions": [ "fetchCreatorDetail", "handleAddService" ], "keys": null, "path": "src/pages/admin/CreatorDetail.tsx", "selectors": null }, { "functions": [ "CreatorRates" ], "keys": null, "path": "src/pages/admin/CreatorRates.tsx", "selectors": null }, { "functions": [ "Creators", "fetchCreators" ], "keys": null, "path": "src/pages/admin/Creators.tsx", "selectors": null }, { "functions": [ "PostTypes" ], "keys": null, "path": "src/pages/admin/PostTypes.tsx", "selectors": null }, { "functions": [ "Utilities", "handleGeneratePayments", "handleUpdateNames" ], "keys": null, "path": "src/pages/admin/Utilities.tsx", "selectors": null }, { "functions": [ "Catalogs" ], "keys": null, "path": "src/pages/admin/Catalogs.tsx", "selectors": null }, { "functions": [ "useAuth" ], "keys": null, "path": "src/components/AuthProvider.tsx", "selectors": null } ]
390
[ { "from": "human", "value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nFix image display issue\n\nThe image /lovable-uploads/15012b70-aa4e-4950-b985-f3dc21b231b5.png was not displaying correctly. This commit addresses this issue.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".fade-enter\",\n \".slide-enter\",\n \"root\",\n \".slide-enter-active\",\n \".fade-enter-active\",\n \"base\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StatsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"getUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProtectedRoute.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchNotifications\",\n \"markAsRead\",\n \"handleLogout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PersonalInfoCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationsCard\",\n \"fetchNotifications\",\n \"markAsRead\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/NotificationsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DatePicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/date-picker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DateSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/DateSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialMediaInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/SocialMediaInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoInputs\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/PersonalInfoInputs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProfilePhotoUpload\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/profile/ProfilePhotoUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavItem\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/NavItem.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MobileSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/sidebar/MobileSidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"findInvitationByCode\"\n ],\n \"keys\": null,\n \"path\": \"src/integrations/supabase/client.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"fetchSession\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Auth\",\n \"handleSubmit\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Auth.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\",\n \"isAdminPath\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDashboard\",\n \"checkPendingServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\",\n \"fetchPersonalData\",\n \"handleSubmit\",\n \"handleInputChange\",\n \"handleSelectChange\",\n \"handlePhotoUpdate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/send-invitation-email/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SystemLogsCard\",\n \"fetchLogs\",\n \"revertLog\",\n \"getActionTypeColor\",\n \"getModuleIcon\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/system/SystemLogsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"copyToClipboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadTemplateButton\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/DownloadTemplateButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploadButton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/FileUploadButton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProcessingStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/ProcessingStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDefaultService\",\n \"processExcelFile\",\n \"createInvitation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/bulk-invite/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankTransferFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BankTransferFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BeneficiaryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/BeneficiaryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CountryField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/CountryField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PayPalField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PayPalField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMethodField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/bank-details/PaymentMethodField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BankDetailsCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/BankDetailsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AddCreatorForm\",\n \"handleAddCreator\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/AddCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInviteCreators\",\n \"setDefaultService\",\n \"handleFileUpload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/BulkInviteCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorsTable\",\n \"fetchCreatorsEmails\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/CreatorsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsTable\",\n \"handleResendEmail\",\n \"handleCopyUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InvitationsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InviteCreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creators/InviteCreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BasicInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/BasicInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompanyShareFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/CompanyShareFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FeesAndDurationFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/FeesAndDurationFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RenewableField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/RenewableField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceTypeField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/ServiceTypeField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsConditionsField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/form-sections/TermsConditionsField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useBankDetails\",\n \"loadBankDetails\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useBankDetails.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorBankDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/BankDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCreatorServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useCreatorServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServicesDialog\",\n \"checkPendingServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/PendingServicesDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServices\",\n \"handleServiceSelect\",\n \"handlePaymentComplete\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DownloadRatesTemplate\",\n \"downloadTemplate\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/DownloadRatesTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Filters\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/Filters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportPreview\",\n \"handleConfirmImport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesImportPreview.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/components/RatesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useRatesData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/hooks/useRatesData.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentForm\",\n \"checkServiceType\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/ServicePaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentAmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentAmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentStatusFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/payment-form/PaymentStatusFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesCard\",\n \"getStatusBadgeVariant\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator/ServicesCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentUpdateForm\",\n \"checkSession\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/ServicePaymentUpdateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AmountFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/AmountFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentMonthField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentMonthField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PaymentReceiptField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/PaymentReceiptField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLog\",\n \"getUserId\",\n \"createAuditLog\",\n \"fallbackDirectFetch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/useAuditLog.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePaymentUpdate\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/payments/update-form/usePaymentUpdate.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePaymentsTable\",\n \"getStatusBadgeColor\",\n \"getServiceName\",\n \"getCreatorName\",\n \"formatPaymentPeriod\"\n ],\n \"keys\": null,\n \"path\": \"src/components/service-payments/ServicePaymentsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAutomaticPayments\",\n \"createPayment\",\n \"generateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAutomaticPayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicePayments\",\n \"handlePaymentSelect\",\n \"handleEditClose\",\n \"handleBrandStatusChange\",\n \"handleCreatorStatusChange\",\n \"handleGenerateMonthlyPayments\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/ServicePayments.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesPagination\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesPagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorServicesTableContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-services/CreatorServicesTableContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/PendingServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceForm\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServiceForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServicesTable\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/ServicesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SignedServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/SignedServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TermsContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/services/TermsContent.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Campaigns\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Campaigns.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PendingServices\",\n \"fetchServices\",\n \"acceptTerms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/PendingServices.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\",\n \"fetchServices\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Services.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsFilters.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogsTable\",\n \"handleRevert\",\n \"getActionBadgeColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/audit/AuditLogsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRateForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorRateForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorSearch\",\n \"handleSuccess\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/CreatorSearch.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesImportTab\",\n \"handleFileSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesImportTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RatesList\",\n \"handleFilterChange\",\n \"handleReset\"\n ],\n \"keys\": null,\n \"path\": \"src/components/creator-rates/RatesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypeDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/PostTypeDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SocialPlatformDialog\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/SocialPlatformDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PlatformsTable\",\n \"togglePlatformStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/platform/PlatformsTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypesTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"groupPostTypesBySocialPlatform\",\n \"PostTypesTable\",\n \"togglePostTypeStatus\"\n ],\n \"keys\": null,\n \"path\": \"src/components/post-types/types/PostTypesTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useAuditLogs.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServicePayments\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServicePayments.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useServices\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useServices.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuditLogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/AuditLogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchCreatorDetail\",\n \"handleAddService\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorRates\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/CreatorRates.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Creators\",\n \"fetchCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Creators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PostTypes\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/PostTypes.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Utilities\",\n \"handleGeneratePayments\",\n \"handleUpdateNames\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Utilities.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Catalogs\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/Catalogs.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AuthProvider.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/pages/Auth.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]