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
Fix: Use secuid_tiktok
{ "changed": [ "src/components/admin/inventory/CreatorForm.tsx", "src/services/tiktokVideoService.ts", "src/types/creator.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": [ "rewrites" ], "path": "vercel.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "handleDelete", "confirmDelete", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "handleInputChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "MetaWelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "if", "generateInvitationCode" ], "keys": null, "path": "src/services/invitationService.ts", "selectors": null }, { "functions": [ "if", "log" ], "keys": null, "path": "src/services/tiktokVideoService.ts", "selectors": null } ]
591
[ { "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: Use secuid_tiktok\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 \"rewrites\"\n ],\n \"path\": \"vercel.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"handleDelete\",\n \"confirmDelete\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"handleInputChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MetaWelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].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 \"if\",\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"log\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tiktokVideoService.ts\",\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/admin/inventory/CreatorForm.tsx\",\n \"src/services/tiktokVideoService.ts\",\n \"src/types/creator.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Refactor: Use new TikTok API endpoint Update the TikTok API endpoint and related code to fetch user posts.
{ "changed": [ "src/components/admin/inventory/CreatorsList.tsx", "src/services/tiktokVideoService.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": [ "rewrites" ], "path": "vercel.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "handleDelete", "confirmDelete", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "handleInputChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "MetaWelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "if", "generateInvitationCode" ], "keys": null, "path": "src/services/invitationService.ts", "selectors": null }, { "functions": [ "if", "log" ], "keys": null, "path": "src/services/tiktokVideoService.ts", "selectors": null } ]
592
[ { "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: Use new TikTok API endpoint\n\nUpdate the TikTok API endpoint and related code to fetch user posts.\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 \"rewrites\"\n ],\n \"path\": \"vercel.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"handleDelete\",\n \"confirmDelete\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"handleInputChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MetaWelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].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 \"if\",\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"log\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tiktokVideoService.ts\",\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/admin/inventory/CreatorsList.tsx\",\n \"src/services/tiktokVideoService.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Fix: Resolve 'handleViewDetails' error The 'handleViewDetails' function was not defined in the CreatorsList component, causing a TypeScript error. This commit removes the reference to the undefined function.
{ "changed": [ "src/components/admin/inventory/CreatorsList.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": [ "rewrites" ], "path": "vercel.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "handleDelete", "confirmDelete", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "handleInputChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "MetaWelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "if", "generateInvitationCode" ], "keys": null, "path": "src/services/invitationService.ts", "selectors": null }, { "functions": [ "if", "log" ], "keys": null, "path": "src/services/tiktokVideoService.ts", "selectors": null } ]
593
[ { "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 'handleViewDetails' error\n\nThe 'handleViewDetails' function was not defined in the CreatorsList component, causing a TypeScript error. This commit removes the reference to the undefined function.\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 \"rewrites\"\n ],\n \"path\": \"vercel.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"handleDelete\",\n \"confirmDelete\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"handleInputChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MetaWelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].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 \"if\",\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"log\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tiktokVideoService.ts\",\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/admin/inventory/CreatorsList.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Reverted to edit edt-e72e2941-9763-4cf6-9881-d4dca5f51233: "Fix: Persist secUid from TikTok API Persist the secUid from the TikTok API response to the inventario_creadores table."
{ "changed": [ "src/components/admin/inventory/CreatorForm.tsx", "src/components/admin/inventory/CreatorsList.tsx", "src/services/tiktokVideoService.ts", "src/types/creator.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": [ "rewrites" ], "path": "vercel.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "handleDelete", "confirmDelete", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "handleInputChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "MetaWelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "if", "generateInvitationCode" ], "keys": null, "path": "src/services/invitationService.ts", "selectors": null }, { "functions": [ "if", "log" ], "keys": null, "path": "src/services/tiktokVideoService.ts", "selectors": null } ]
594
[ { "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-e72e2941-9763-4cf6-9881-d4dca5f51233: \"Fix: Persist secUid from TikTok API\n\nPersist the secUid from the TikTok API response to the inventario_creadores table.\"\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 \"rewrites\"\n ],\n \"path\": \"vercel.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"handleDelete\",\n \"confirmDelete\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"handleInputChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MetaWelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].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 \"if\",\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"log\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tiktokVideoService.ts\",\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/admin/inventory/CreatorForm.tsx\",\n \"src/components/admin/inventory/CreatorsList.tsx\",\n \"src/services/tiktokVideoService.ts\",\n \"src/types/creator.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
feat: Add TikTok Video test tab Adds a new tab to the admin test page for testing TikTok video functionality. Includes a username input and a "Test Service" button.
{ "changed": [ "src/pages/admin/test/index.tsx", "src/services/tiktokVideoService.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": [ "rewrites" ], "path": "vercel.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "handleDelete", "confirmDelete", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "handleInputChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "MetaWelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "if", "generateInvitationCode" ], "keys": null, "path": "src/services/invitationService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tiktokVideoService.ts", "selectors": null } ]
595
[ { "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 TikTok Video test tab\n\nAdds a new tab to the admin test page for testing TikTok video functionality. Includes a username input and a \"Test Service\" button.\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 \"rewrites\"\n ],\n \"path\": \"vercel.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"handleDelete\",\n \"confirmDelete\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"handleInputChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MetaWelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].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 \"if\",\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tiktokVideoService.ts\",\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/test/index.tsx\",\n \"src/services/tiktokVideoService.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Add TikTok video engagement feature Add a button to the admin/inventory view to fetch and persist TikTok videos for a user.
{ "changed": [ "src/components/admin/inventory/CreatorsList.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": [ "rewrites" ], "path": "vercel.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "handleDelete", "confirmDelete", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "handleInputChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "MetaWelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "if", "generateInvitationCode" ], "keys": null, "path": "src/services/invitationService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tiktokVideoService.ts", "selectors": null } ]
596
[ { "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 TikTok video engagement feature\n\nAdd a button to the admin/inventory view to fetch and persist TikTok videos for a user.\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 \"rewrites\"\n ],\n \"path\": \"vercel.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"handleDelete\",\n \"confirmDelete\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"handleInputChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MetaWelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].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 \"if\",\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tiktokVideoService.ts\",\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/admin/inventory/CreatorsList.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Fix: Persist TikTok videos Ensure each retrieved TikTok video is persisted.
{ "changed": [ "src/components/admin/inventory/CreatorsList.tsx", "src/services/tiktokVideoService.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": [ "rewrites" ], "path": "vercel.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "handleDelete", "confirmDelete", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "handleInputChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "MetaWelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "if", "generateInvitationCode" ], "keys": null, "path": "src/services/invitationService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tiktokVideoService.ts", "selectors": null } ]
597
[ { "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: Persist TikTok videos\n\nEnsure each retrieved TikTok video is persisted.\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 \"rewrites\"\n ],\n \"path\": \"vercel.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"handleDelete\",\n \"confirmDelete\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"handleInputChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MetaWelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].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 \"if\",\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tiktokVideoService.ts\",\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/admin/inventory/CreatorsList.tsx\",\n \"src/services/tiktokVideoService.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Fix: Persist TikTok video data Persist additional video data to the tiktok_video table, including description, create_time, author, author_id, video_definition, duration, and statistics.
{ "changed": [ "src/services/tiktokVideoService.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": [ "rewrites" ], "path": "vercel.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "handleDelete", "confirmDelete", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "handleInputChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "MetaWelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "if", "generateInvitationCode" ], "keys": null, "path": "src/services/invitationService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tiktokVideoService.ts", "selectors": null } ]
598
[ { "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: Persist TikTok video data\n\nPersist additional video data to the tiktok_video table, including description, create_time, author, author_id, video_definition, duration, and statistics.\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 \"rewrites\"\n ],\n \"path\": \"vercel.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"handleDelete\",\n \"confirmDelete\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"handleInputChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MetaWelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].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 \"if\",\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tiktokVideoService.ts\",\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/services/tiktokVideoService.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Fix: TikTok video saving issue Fixes an issue where no TikTok videos were being saved.
{ "changed": [ "src/services/tiktokVideoService.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": [ "rewrites" ], "path": "vercel.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "handleDelete", "confirmDelete", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "handleInputChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "MetaWelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "if", "generateInvitationCode" ], "keys": null, "path": "src/services/invitationService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tiktokVideoService.ts", "selectors": null } ]
599
[ { "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: TikTok video saving issue\n\nFixes an issue where no TikTok videos were being saved.\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 \"rewrites\"\n ],\n \"path\": \"vercel.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"handleDelete\",\n \"confirmDelete\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"handleInputChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MetaWelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].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 \"if\",\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tiktokVideoService.ts\",\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/services/tiktokVideoService.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Reverted to edit edt-ec77256c-318c-4e59-b171-977d3fc41ceb: "feat: Add TikTok Video test tab Adds a new tab to the admin test page for testing TikTok video functionality. Includes a username input and a "Test Service" button."
{ "changed": [ "src/components/admin/inventory/CreatorsList.tsx", "src/services/tiktokVideoService.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": [ "rewrites" ], "path": "vercel.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "handleDelete", "confirmDelete", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "handleInputChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "MetaWelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "if", "generateInvitationCode" ], "keys": null, "path": "src/services/invitationService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tiktokVideoService.ts", "selectors": null } ]
600
[ { "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-ec77256c-318c-4e59-b171-977d3fc41ceb: \"feat: Add TikTok Video test tab\n\nAdds a new tab to the admin test page for testing TikTok video functionality. Includes a username input and a \"Test Service\" button.\"\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 \"rewrites\"\n ],\n \"path\": \"vercel.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"handleDelete\",\n \"confirmDelete\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"handleInputChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MetaWelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].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 \"if\",\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tiktokVideoService.ts\",\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/admin/inventory/CreatorsList.tsx\",\n \"src/services/tiktokVideoService.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
feat: Add TikTok video engagement button Adds a button to the creator list to fetch and persist TikTok videos using the fetchTikTokUserVideos API. The button retrieves video data and stores it in the database, mapping video details to the tiktok_video table.
{ "changed": [ "src/components/admin/inventory/CreatorsList.tsx", "src/services/tiktokVideoService.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": [ "rewrites" ], "path": "vercel.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "handleDelete", "confirmDelete", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "handleInputChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "MetaWelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "if", "generateInvitationCode" ], "keys": null, "path": "src/services/invitationService.ts", "selectors": null } ]
601
[ { "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 TikTok video engagement button\n\nAdds a button to the creator list to fetch and persist TikTok videos using the fetchTikTokUserVideos API. The button retrieves video data and stores it in the database, mapping video details to the tiktok_video table.\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 \"rewrites\"\n ],\n \"path\": \"vercel.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"handleDelete\",\n \"confirmDelete\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"handleInputChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MetaWelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].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 \"if\",\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitationService.ts\",\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/admin/inventory/CreatorsList.tsx\",\n \"src/services/tiktokVideoService.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Refactor: Update invitation URL in create service Update the invitation URL generation in the create invitation service to use the new "meta/welcome/{invitation_code}" format.
{ "changed": [ "src/services/invitationService.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": [ "rewrites" ], "path": "vercel.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "handleDelete", "confirmDelete", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "handleInputChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "MetaWelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "if", "generateInvitationCode" ], "keys": null, "path": "src/services/invitationService.ts", "selectors": null } ]
602
[ { "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: Update invitation URL in create service\n\nUpdate the invitation URL generation in the create invitation service to use the new \"meta/welcome/{invitation_code}\" format.\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 \"rewrites\"\n ],\n \"path\": \"vercel.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"handleDelete\",\n \"confirmDelete\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"handleInputChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MetaWelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].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 \"if\",\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitationService.ts\",\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/services/invitationService.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Fix: Make email and username readonly Make the email and TikTok username fields readonly in the /meta/welcome/ view.
{ "changed": [ "src/components/invitation/WelcomeForm.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": [ "rewrites" ], "path": "vercel.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "handleDelete", "confirmDelete", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "handleInputChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "MetaWelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "if", "generateInvitationCode" ], "keys": null, "path": "src/services/invitationService.ts", "selectors": null } ]
603
[ { "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: Make email and username readonly\n\nMake the email and TikTok username fields readonly in the /meta/welcome/ view.\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 \"rewrites\"\n ],\n \"path\": \"vercel.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"handleDelete\",\n \"confirmDelete\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"handleInputChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MetaWelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].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 \"if\",\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitationService.ts\",\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/invitation/WelcomeForm.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Fix: Prevent duplicate task creation Validate that only one task record per user is created in the "tasks" table.
{ "changed": [ "src/pages/meta/welcome/[invitation_code].tsx", "src/services/tasksService.ts" ], "created": [ "supabase/functions/create_validation_task.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": [ "rewrites" ], "path": "vercel.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "handleDelete", "confirmDelete", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "handleInputChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "MetaWelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "if", "generateInvitationCode" ], "keys": null, "path": "src/services/invitationService.ts", "selectors": null } ]
604
[ { "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: Prevent duplicate task creation\n\nValidate that only one task record per user is created in the \"tasks\" table.\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 \"rewrites\"\n ],\n \"path\": \"vercel.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"handleDelete\",\n \"confirmDelete\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"handleInputChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MetaWelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].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 \"if\",\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitationService.ts\",\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/meta/welcome/[invitation_code].tsx\",\n \"src/services/tasksService.ts\"\n ],\n \"created\": [\n \"supabase/functions/create_validation_task.ts\"\n ],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Fix: Define message in InvitationErrorProps Define the `message` property in the `InvitationErrorProps` interface to resolve the type error.
{ "changed": [ "src/components/invitation/InvitationError.tsx", "src/pages/meta/welcome/[invitation_code].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": [ "rewrites" ], "path": "vercel.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "handleDelete", "confirmDelete", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "handleInputChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "if", "generateInvitationCode" ], "keys": null, "path": "src/services/invitationService.ts", "selectors": null } ]
605
[ { "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: Define message in InvitationErrorProps\n\nDefine the `message` property in the `InvitationErrorProps` interface to resolve the type 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 \"rewrites\"\n ],\n \"path\": \"vercel.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"handleDelete\",\n \"confirmDelete\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"handleInputChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].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 \"if\",\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitationService.ts\",\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/invitation/InvitationError.tsx\",\n \"src/pages/meta/welcome/[invitation_code].tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Fix: Pass error prop to InvitationError Pass the error message to the InvitationError component.
{ "changed": [ "src/pages/meta/completeProfile/[invitation_code].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": [ "rewrites" ], "path": "vercel.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "handleDelete", "confirmDelete", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "handleInputChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "if", "generateInvitationCode" ], "keys": null, "path": "src/services/invitationService.ts", "selectors": null } ]
606
[ { "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: Pass error prop to InvitationError\n\nPass the error message to the InvitationError component.\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 \"rewrites\"\n ],\n \"path\": \"vercel.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"handleDelete\",\n \"confirmDelete\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"handleInputChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].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 \"if\",\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitationService.ts\",\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/meta/completeProfile/[invitation_code].tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Fix: Creator form required fields and default status - Make "Nombre" and "Correo Electrónico" required in the creator form. - Set the default status to "pendiente".
{ "changed": [ "src/components/admin/inventory/CreatorForm.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": [ "rewrites" ], "path": "vercel.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "handleDelete", "confirmDelete", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "handleInputChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "if", "generateInvitationCode" ], "keys": null, "path": "src/services/invitationService.ts", "selectors": null } ]
607
[ { "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 form required fields and default status\n\n- Make \"Nombre\" and \"Correo Electrónico\" required in the creator form.\n- Set the default status to \"pendiente\".\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 \"rewrites\"\n ],\n \"path\": \"vercel.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"handleDelete\",\n \"confirmDelete\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"handleInputChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].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 \"if\",\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitationService.ts\",\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/admin/inventory/CreatorForm.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Refactor: Change button label Change the label of the "engagement" button to "Descarga videos" in the admin/inventory view.
{ "changed": [ "src/components/admin/inventory/CreatorsList.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": [ "rewrites" ], "path": "vercel.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "handleDelete", "confirmDelete", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "handleInputChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "if", "generateInvitationCode" ], "keys": null, "path": "src/services/invitationService.ts", "selectors": null } ]
608
[ { "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: Change button label\n\nChange the label of the \"engagement\" button to \"Descarga videos\" in the admin/inventory view.\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 \"rewrites\"\n ],\n \"path\": \"vercel.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"handleDelete\",\n \"confirmDelete\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"handleInputChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].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 \"if\",\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitationService.ts\",\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/admin/inventory/CreatorsList.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Refactor: Split CreatorForm into smaller components This commit refactors the CreatorForm component into smaller, more manageable components to improve code organization and readability.
{ "changed": [ "src/components/admin/inventory/CreatorForm.tsx" ], "created": [ "src/components/admin/inventory/form-schemas/creatorFormSchema.ts", "src/components/admin/inventory/form/FormActions.tsx", "src/components/admin/inventory/form/FormHeader.tsx", "src/components/admin/inventory/form/FormSection.tsx", "src/components/admin/inventory/form/OtherSocialFields.tsx", "src/components/admin/inventory/form/PersonalInfoFields.tsx", "src/components/admin/inventory/form/StatusField.tsx", "src/components/admin/inventory/form/TikTokFields.tsx", "src/components/admin/inventory/form/YouTubeFields.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": [ "rewrites" ], "path": "vercel.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "handleDelete", "confirmDelete", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "handleInputChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "if", "generateInvitationCode" ], "keys": null, "path": "src/services/invitationService.ts", "selectors": null } ]
609
[ { "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: Split CreatorForm into smaller components\n\nThis commit refactors the CreatorForm component into smaller, more manageable components to improve code organization and readability.\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 \"rewrites\"\n ],\n \"path\": \"vercel.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"handleDelete\",\n \"confirmDelete\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"handleInputChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].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 \"if\",\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitationService.ts\",\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/admin/inventory/CreatorForm.tsx\"\n ],\n \"created\": [\n \"src/components/admin/inventory/form-schemas/creatorFormSchema.ts\",\n \"src/components/admin/inventory/form/FormActions.tsx\",\n \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"src/components/admin/inventory/form/FormSection.tsx\",\n \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"src/components/admin/inventory/form/StatusField.tsx\",\n \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"src/components/admin/inventory/form/YouTubeFields.tsx\"\n ],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Fix: Update button label Change the label of the "Descarga videos" button to "Videos" in the admin inventory page.
{ "changed": [ "src/components/admin/inventory/CreatorsList.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": [ "rewrites" ], "path": "vercel.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "handleDelete", "confirmDelete", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "handleInputChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "if", "generateInvitationCode" ], "keys": null, "path": "src/services/invitationService.ts", "selectors": null } ]
610
[ { "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: Update button label\n\nChange the label of the \"Descarga videos\" button to \"Videos\" in the admin inventory 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 \"rewrites\"\n ],\n \"path\": \"vercel.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"handleDelete\",\n \"confirmDelete\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"handleInputChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].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 \"if\",\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitationService.ts\",\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/admin/inventory/CreatorsList.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Fix: Make fields read-only in WelcomeForm Make the "Email Address" and "TikTok Username" fields read-only in the WelcomeForm component.
{ "changed": [ "src/components/invitation/WelcomeForm.tsx", "src/pages/meta/welcome/[invitation_code].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": [ "rewrites" ], "path": "vercel.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "handleDelete", "confirmDelete", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "handleInputChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "if", "generateInvitationCode" ], "keys": null, "path": "src/services/invitationService.ts", "selectors": null } ]
611
[ { "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: Make fields read-only in WelcomeForm\n\nMake the \"Email Address\" and \"TikTok Username\" fields read-only in the WelcomeForm component.\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 \"rewrites\"\n ],\n \"path\": \"vercel.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"handleDelete\",\n \"confirmDelete\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"handleInputChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].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 \"if\",\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitationService.ts\",\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/invitation/WelcomeForm.tsx\",\n \"src/pages/meta/welcome/[invitation_code].tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Fix: Add Instagram username validation Add validation for the Instagram username field in the complete profile form. The validation checks for length (5-30 characters) and allowed characters (letters, numbers, periods, and underscores).
{ "changed": [ "src/components/invitation/CompleteProfileForm.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": [ "rewrites" ], "path": "vercel.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "handleDelete", "confirmDelete", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "handleInputChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "if", "generateInvitationCode" ], "keys": null, "path": "src/services/invitationService.ts", "selectors": null } ]
612
[ { "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: Add Instagram username validation\n\nAdd validation for the Instagram username field in the complete profile form. The validation checks for length (5-30 characters) and allowed characters (letters, numbers, periods, and underscores).\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 \"rewrites\"\n ],\n \"path\": \"vercel.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"handleDelete\",\n \"confirmDelete\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"handleInputChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].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 \"if\",\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitationService.ts\",\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/invitation/CompleteProfileForm.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Fix: Add Facebook URL validation Add validation for Facebook URL input in FbCreationPage.
{ "changed": [ "src/pages/meta/FbCreation/[invitation_code].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": [ "rewrites" ], "path": "vercel.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "handleDelete", "confirmDelete", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "if", "generateInvitationCode" ], "keys": null, "path": "src/services/invitationService.ts", "selectors": null } ]
613
[ { "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: Add Facebook URL validation\n\nAdd validation for Facebook URL input in FbCreationPage.\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 \"rewrites\"\n ],\n \"path\": \"vercel.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"handleDelete\",\n \"confirmDelete\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].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 \"if\",\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitationService.ts\",\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/meta/FbCreation/[invitation_code].tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Refactor: Split FbCreationPage into components Refactor the FbCreationPage component into smaller, reusable components to improve code organization and readability.
{ "changed": [ "src/pages/meta/FbCreation/[invitation_code].tsx" ], "created": [ "src/components/facebook/FacebookPageForm.tsx", "src/components/facebook/SubmissionCompleteScreen.tsx", "src/utils/validationUtils.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": [ "rewrites" ], "path": "vercel.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "handleDelete", "confirmDelete", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "validateFacebookPageUrl", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "if", "generateInvitationCode" ], "keys": null, "path": "src/services/invitationService.ts", "selectors": null } ]
614
[ { "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: Split FbCreationPage into components\n\nRefactor the FbCreationPage component into smaller, reusable components to improve code organization and readability.\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 \"rewrites\"\n ],\n \"path\": \"vercel.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"handleDelete\",\n \"confirmDelete\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"validateFacebookPageUrl\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].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 \"if\",\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitationService.ts\",\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/meta/FbCreation/[invitation_code].tsx\"\n ],\n \"created\": [\n \"src/components/facebook/FacebookPageForm.tsx\",\n \"src/components/facebook/SubmissionCompleteScreen.tsx\",\n \"src/utils/validationUtils.ts\"\n ],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Refactor: Split invitation service into modules This commit refactors the invitation service to improve modularity and maintainability by splitting it into smaller, more focused files.
{ "changed": [ "src/pages/meta/completeProfile/[invitation_code].tsx", "src/services/invitationService.ts" ], "created": [ "src/services/invitation/createInvitation.ts", "src/services/invitation/deleteInvitation.ts", "src/services/invitation/fetchInvitations.ts", "src/services/invitation/index.ts", "src/services/invitation/updateInvitation.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": [ "rewrites" ], "path": "vercel.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "handleDelete", "confirmDelete", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null }, { "functions": [ "if", "generateInvitationCode" ], "keys": null, "path": "src/services/invitationService.ts", "selectors": null } ]
615
[ { "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: Split invitation service into modules\n\nThis commit refactors the invitation service to improve modularity and maintainability by splitting it into smaller, more focused 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 \"rewrites\"\n ],\n \"path\": \"vercel.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"handleDelete\",\n \"confirmDelete\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].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 \"if\",\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitationService.ts\",\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/meta/completeProfile/[invitation_code].tsx\",\n \"src/services/invitationService.ts\"\n ],\n \"created\": [\n \"src/services/invitation/createInvitation.ts\",\n \"src/services/invitation/deleteInvitation.ts\",\n \"src/services/invitation/fetchInvitations.ts\",\n \"src/services/invitation/index.ts\",\n \"src/services/invitation/updateInvitation.ts\"\n ],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Merge pull request #1 from gmrdaniel/invitaciones-main Invitaciones main
{ "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": [ "rewrites" ], "path": "vercel.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "handleDelete", "confirmDelete", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/invitation/fetchInvitations.ts", "selectors": null }, { "functions": [ "generateInvitationCode" ], "keys": null, "path": "src/services/invitation/createInvitation.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null } ]
616
[ { "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 #1 from gmrdaniel/invitaciones-main\n\nInvitaciones main\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 \"rewrites\"\n ],\n \"path\": \"vercel.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"handleDelete\",\n \"confirmDelete\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/fetchInvitations.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/createInvitation.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].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\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
Remove task creation trigger Remove the trigger for creating tasks and only use the `createTask` function.
{ "changed": [ "src/services/invitation/updateInvitation.ts", "supabase/functions/create_validation_task.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": [ "rewrites" ], "path": "vercel.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "handleDelete", "confirmDelete", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/invitation/fetchInvitations.ts", "selectors": null }, { "functions": [ "generateInvitationCode" ], "keys": null, "path": "src/services/invitation/createInvitation.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null } ]
617
[ { "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 task creation trigger\n\nRemove the trigger for creating tasks and only use the `createTask` function.\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 \"rewrites\"\n ],\n \"path\": \"vercel.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"handleDelete\",\n \"confirmDelete\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/fetchInvitations.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/createInvitation.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].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\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/services/invitation/updateInvitation.ts\",\n \"supabase/functions/create_validation_task.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Fix: Invitation service import Correct import statements to match the exact exported names from the invitationService module.
{ "changed": [ "src/services/invitation/index.ts" ], "created": [ "src/services/invitation/updateFacebookPage.ts", "src/services/invitation/updateInvitationStatus.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": [ "rewrites" ], "path": "vercel.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "handleDelete", "confirmDelete", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/invitation/fetchInvitations.ts", "selectors": null }, { "functions": [ "generateInvitationCode" ], "keys": null, "path": "src/services/invitation/createInvitation.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null } ]
618
[ { "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: Invitation service import\n\nCorrect import statements to match the exact exported names from the invitationService module.\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 \"rewrites\"\n ],\n \"path\": \"vercel.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"handleDelete\",\n \"confirmDelete\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/fetchInvitations.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/createInvitation.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].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\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/services/invitation/index.ts\"\n ],\n \"created\": [\n \"src/services/invitation/updateFacebookPage.ts\",\n \"src/services/invitation/updateInvitationStatus.ts\"\n ],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Merge pull request #2 from gmrdaniel/invitaciones-main Invitaciones main
{ "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": [ "rewrites" ], "path": "vercel.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "handleDelete", "confirmDelete", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/invitation/fetchInvitations.ts", "selectors": null }, { "functions": [ "generateInvitationCode" ], "keys": null, "path": "src/services/invitation/createInvitation.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null } ]
619
[ { "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 #2 from gmrdaniel/invitaciones-main\n\nInvitaciones main\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 \"rewrites\"\n ],\n \"path\": \"vercel.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"handleDelete\",\n \"confirmDelete\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/fetchInvitations.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/createInvitation.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].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\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
update send-invitation-email and add dropdown to invitation table
{ "changed": [ "package-lock.json", "src/components/admin/invitations/InvitationsList.tsx", "src/components/ui/dropdown-menu.tsx", "supabase/functions/send-invitation-email/index.ts" ], "created": [ "supabase/.temp/cli-latest" ], "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": [ "rewrites" ], "path": "vercel.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "handleDelete", "confirmDelete", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/invitation/fetchInvitations.ts", "selectors": null }, { "functions": [ "generateInvitationCode" ], "keys": null, "path": "src/services/invitation/createInvitation.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null } ]
620
[ { "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 send-invitation-email and add dropdown to invitation table\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 \"rewrites\"\n ],\n \"path\": \"vercel.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"handleDelete\",\n \"confirmDelete\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/fetchInvitations.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/createInvitation.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].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\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"package-lock.json\",\n \"src/components/admin/invitations/InvitationsList.tsx\",\n \"src/components/ui/dropdown-menu.tsx\",\n \"supabase/functions/send-invitation-email/index.ts\"\n ],\n \"created\": [\n \"supabase/.temp/cli-latest\"\n ],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
stepper added, and configuration is in proccess
{ "changed": [ "src/App.tsx", "src/components/admin/invitations/InvitationsList.tsx", "src/services/invitation/index.ts", "supabase/functions/send-invitation-email/index.ts" ], "created": [ ".env", "src/components/ui/stepper.tsx", "src/pages/meta/invitation/[invitation_code].tsx", "src/services/email/sendIEmail.ts", "src/services/invitation/sendCreatorInvitationEmail.ts", "src/types/steps.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": [ "rewrites" ], "path": "vercel.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "handleDelete", "confirmDelete", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/invitation/fetchInvitations.ts", "selectors": null }, { "functions": [ "generateInvitationCode" ], "keys": null, "path": "src/services/invitation/createInvitation.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null } ]
621
[ { "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:**\nstepper added, and configuration is in proccess\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 \"rewrites\"\n ],\n \"path\": \"vercel.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"handleDelete\",\n \"confirmDelete\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/fetchInvitations.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/createInvitation.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].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\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/admin/invitations/InvitationsList.tsx\",\n \"src/services/invitation/index.ts\",\n \"supabase/functions/send-invitation-email/index.ts\"\n ],\n \"created\": [\n \".env\",\n \"src/components/ui/stepper.tsx\",\n \"src/pages/meta/invitation/[invitation_code].tsx\",\n \"src/services/email/sendIEmail.ts\",\n \"src/services/invitation/sendCreatorInvitationEmail.ts\",\n \"src/types/steps.ts\"\n ],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
stepper added, migrations applied, labels changed
{ "changed": [ "scripts_sql.md", "src/components/admin/invitations/InvitationForm.tsx", "src/components/facebook/FacebookPageForm.tsx", "src/components/invitation/CompleteProfileForm.tsx", "src/components/invitation/WelcomeForm.tsx", "src/components/ui/stepper.tsx", "src/integrations/supabase/types.ts", "src/pages/meta/completeProfile/[invitation_code].tsx", "src/pages/meta/invitation/[invitation_code].tsx", "src/services/creatorService.ts", "src/services/invitation/createInvitation.ts", "src/services/migrationService.ts", "src/services/tiktokVideoService.ts", "src/types/invitation.ts" ], "created": [ "src/hooks/useSendInvitationEmail.tsx", "src/services/email/fetchProjectStages.ts", "supabase/.temp/gotrue-version", "supabase/.temp/pooler-url", "supabase/.temp/postgres-version", "supabase/.temp/project-ref", "supabase/.temp/rest-version", "supabase/migrations/20250327220202_add_current_stage_column.sql", "supabase/migrations/20250328033500_alter_is_stage_in_project.sql", "supabase/migrations/20250328033857_alter_is_stage_in_project.sql", "supabase/migrations/20250328034250_alter_is_stage_in_project.sql" ], "deleted": [ "src/types/steps.ts" ] }
[ { "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": [ "rewrites" ], "path": "vercel.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "Stepper" ], "keys": null, "path": "src/components/ui/stepper.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "handleDelete", "confirmDelete", "createInvitationLink", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.ts", "selectors": null }, { "functions": [ "sendCreatorInvitationEmail" ], "keys": null, "path": "src/services/invitation/sendCreatorInvitationEmail.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/invitation/fetchInvitations.ts", "selectors": null }, { "functions": [ "generateInvitationCode" ], "keys": null, "path": "src/services/invitation/createInvitation.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "InvitationStepperPage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "goToNextStep", "handleContinueWelcome", "handleCompleteProfileSubmit" ], "keys": null, "path": "src/pages/meta/invitation/[invitation_code].tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null } ]
622
[ { "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:**\nstepper added, migrations applied, labels changed\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 \"rewrites\"\n ],\n \"path\": \"vercel.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"Stepper\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/stepper.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"handleDelete\",\n \"confirmDelete\",\n \"createInvitationLink\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"sendCreatorInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/sendCreatorInvitationEmail.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/fetchInvitations.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/createInvitation.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationStepperPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"goToNextStep\",\n \"handleContinueWelcome\",\n \"handleCompleteProfileSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/invitation/[invitation_code].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\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"scripts_sql.md\",\n \"src/components/admin/invitations/InvitationForm.tsx\",\n \"src/components/facebook/FacebookPageForm.tsx\",\n \"src/components/invitation/CompleteProfileForm.tsx\",\n \"src/components/invitation/WelcomeForm.tsx\",\n \"src/components/ui/stepper.tsx\",\n \"src/integrations/supabase/types.ts\",\n \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"src/pages/meta/invitation/[invitation_code].tsx\",\n \"src/services/creatorService.ts\",\n \"src/services/invitation/createInvitation.ts\",\n \"src/services/migrationService.ts\",\n \"src/services/tiktokVideoService.ts\",\n \"src/types/invitation.ts\"\n ],\n \"created\": [\n \"src/hooks/useSendInvitationEmail.tsx\",\n \"src/services/email/fetchProjectStages.ts\",\n \"supabase/.temp/gotrue-version\",\n \"supabase/.temp/pooler-url\",\n \"supabase/.temp/postgres-version\",\n \"supabase/.temp/project-ref\",\n \"supabase/.temp/rest-version\",\n \"supabase/migrations/20250327220202_add_current_stage_column.sql\",\n \"supabase/migrations/20250328033500_alter_is_stage_in_project.sql\",\n \"supabase/migrations/20250328033857_alter_is_stage_in_project.sql\",\n \"supabase/migrations/20250328034250_alter_is_stage_in_project.sql\"\n ],\n \"deleted\": [\n \"src/types/steps.ts\"\n ]\n}" } ]
gmrdaniel/grm-meta
invitation page complete
{ "changed": [ "src/components/invitation/WelcomeForm.tsx", "src/pages/meta/invitation/[invitation_code].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": [ "rewrites" ], "path": "vercel.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "Stepper" ], "keys": null, "path": "src/components/ui/stepper.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "handleDelete", "confirmDelete", "createInvitationLink", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit", "handleSendEmail" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.ts", "selectors": null }, { "functions": [ "sendCreatorInvitationEmail" ], "keys": null, "path": "src/services/invitation/sendCreatorInvitationEmail.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/invitation/fetchInvitations.ts", "selectors": null }, { "functions": [ "generateInvitationCode" ], "keys": null, "path": "src/services/invitation/createInvitation.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": [ "useSendInvitationEmail" ], "keys": null, "path": "src/hooks/useSendInvitationEmail.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "InvitationStepperPage", "fetchInvitationAndStages", "handleInputChange", "handleFacebookInputChange", "handleCheckboxChange", "handleCheckboxFacebookChange", "handlePasswordChange", "goToNextStep", "handleContinueWelcome", "handleCompleteProfileSubmit", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/invitation/[invitation_code].tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null } ]
623
[ { "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:**\ninvitation page complete\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 \"rewrites\"\n ],\n \"path\": \"vercel.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"Stepper\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/stepper.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"handleDelete\",\n \"confirmDelete\",\n \"createInvitationLink\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\",\n \"handleSendEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"sendCreatorInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/sendCreatorInvitationEmail.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/fetchInvitations.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/createInvitation.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 \"useSendInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useSendInvitationEmail.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationStepperPage\",\n \"fetchInvitationAndStages\",\n \"handleInputChange\",\n \"handleFacebookInputChange\",\n \"handleCheckboxChange\",\n \"handleCheckboxFacebookChange\",\n \"handlePasswordChange\",\n \"goToNextStep\",\n \"handleContinueWelcome\",\n \"handleCompleteProfileSubmit\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/invitation/[invitation_code].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\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/components/invitation/WelcomeForm.tsx\",\n \"src/pages/meta/invitation/[invitation_code].tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
some improvements done
{ "changed": [ "src/components/admin/invitations/InvitationsList.tsx", "src/integrations/supabase/types.ts", "src/pages/meta/invitation/[invitation_code].tsx", "src/types/invitation.ts" ], "created": [ "supabase/migrations/20250328124643_add_complete_to_invitation_status_enum.sql" ], "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": [ "rewrites" ], "path": "vercel.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "Stepper" ], "keys": null, "path": "src/components/ui/stepper.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "handleDelete", "confirmDelete", "createInvitationLink", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit", "handleSendEmail" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.ts", "selectors": null }, { "functions": [ "sendCreatorInvitationEmail" ], "keys": null, "path": "src/services/invitation/sendCreatorInvitationEmail.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/invitation/fetchInvitations.ts", "selectors": null }, { "functions": [ "generateInvitationCode" ], "keys": null, "path": "src/services/invitation/createInvitation.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": [ "useSendInvitationEmail" ], "keys": null, "path": "src/hooks/useSendInvitationEmail.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "InvitationStepperPage", "fetchInvitationAndStages", "handleInputChange", "handleFacebookInputChange", "handleCheckboxChange", "handleCheckboxFacebookChange", "handlePasswordChange", "goToNextStep", "handleContinueWelcome", "handleCompleteProfileSubmit", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/invitation/[invitation_code].tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null } ]
624
[ { "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:**\nsome improvements done\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 \"rewrites\"\n ],\n \"path\": \"vercel.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"Stepper\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/stepper.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"handleDelete\",\n \"confirmDelete\",\n \"createInvitationLink\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\",\n \"handleSendEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"sendCreatorInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/sendCreatorInvitationEmail.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/fetchInvitations.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/createInvitation.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 \"useSendInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useSendInvitationEmail.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationStepperPage\",\n \"fetchInvitationAndStages\",\n \"handleInputChange\",\n \"handleFacebookInputChange\",\n \"handleCheckboxChange\",\n \"handleCheckboxFacebookChange\",\n \"handlePasswordChange\",\n \"goToNextStep\",\n \"handleContinueWelcome\",\n \"handleCompleteProfileSubmit\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/invitation/[invitation_code].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\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/components/admin/invitations/InvitationsList.tsx\",\n \"src/integrations/supabase/types.ts\",\n \"src/pages/meta/invitation/[invitation_code].tsx\",\n \"src/types/invitation.ts\"\n ],\n \"created\": [\n \"supabase/migrations/20250328124643_add_complete_to_invitation_status_enum.sql\"\n ],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
loading bug solve
{ "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": [ "rewrites" ], "path": "vercel.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "Stepper" ], "keys": null, "path": "src/components/ui/stepper.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "confirmDelete", "createInvitationLink", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit", "handleSendEmail" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.ts", "selectors": null }, { "functions": [ "sendCreatorInvitationEmail" ], "keys": null, "path": "src/services/invitation/sendCreatorInvitationEmail.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/invitation/fetchInvitations.ts", "selectors": null }, { "functions": [ "generateInvitationCode" ], "keys": null, "path": "src/services/invitation/createInvitation.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": [ "useSendInvitationEmail" ], "keys": null, "path": "src/hooks/useSendInvitationEmail.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "InvitationStepperPage", "fetchInvitationAndStages", "handleInputChange", "handleFacebookInputChange", "handleCheckboxChange", "handleCheckboxFacebookChange", "handlePasswordChange", "goToNextStep", "handleContinueWelcome", "handleCompleteProfileSubmit", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/invitation/[invitation_code].tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null } ]
625
[ { "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:**\nloading bug solve\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 \"rewrites\"\n ],\n \"path\": \"vercel.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"Stepper\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/stepper.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"confirmDelete\",\n \"createInvitationLink\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\",\n \"handleSendEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"sendCreatorInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/sendCreatorInvitationEmail.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/fetchInvitations.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/createInvitation.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 \"useSendInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useSendInvitationEmail.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationStepperPage\",\n \"fetchInvitationAndStages\",\n \"handleInputChange\",\n \"handleFacebookInputChange\",\n \"handleCheckboxChange\",\n \"handleCheckboxFacebookChange\",\n \"handlePasswordChange\",\n \"goToNextStep\",\n \"handleContinueWelcome\",\n \"handleCompleteProfileSubmit\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/invitation/[invitation_code].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\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
confirm business instagram before going to next step
{ "changed": [ "src/components/invitation/CompleteProfileForm.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": [ "rewrites" ], "path": "vercel.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "Stepper" ], "keys": null, "path": "src/components/ui/stepper.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "confirmDelete", "createInvitationLink", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit", "handleSendEmail" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.ts", "selectors": null }, { "functions": [ "sendCreatorInvitationEmail" ], "keys": null, "path": "src/services/invitation/sendCreatorInvitationEmail.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/invitation/fetchInvitations.ts", "selectors": null }, { "functions": [ "generateInvitationCode" ], "keys": null, "path": "src/services/invitation/createInvitation.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": [ "useSendInvitationEmail" ], "keys": null, "path": "src/hooks/useSendInvitationEmail.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "InvitationStepperPage", "fetchInvitationAndStages", "handleInputChange", "handleFacebookInputChange", "handleCheckboxChange", "handleCheckboxFacebookChange", "handlePasswordChange", "goToNextStep", "handleContinueWelcome", "handleCompleteProfileSubmit", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/invitation/[invitation_code].tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null } ]
626
[ { "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:**\nconfirm business instagram before going to next step\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 \"rewrites\"\n ],\n \"path\": \"vercel.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"Stepper\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/stepper.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"confirmDelete\",\n \"createInvitationLink\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\",\n \"handleSendEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"sendCreatorInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/sendCreatorInvitationEmail.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/fetchInvitations.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/createInvitation.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 \"useSendInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useSendInvitationEmail.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationStepperPage\",\n \"fetchInvitationAndStages\",\n \"handleInputChange\",\n \"handleFacebookInputChange\",\n \"handleCheckboxChange\",\n \"handleCheckboxFacebookChange\",\n \"handlePasswordChange\",\n \"goToNextStep\",\n \"handleContinueWelcome\",\n \"handleCompleteProfileSubmit\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/invitation/[invitation_code].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\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/components/invitation/CompleteProfileForm.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
test
{ "changed": [ "src/components/invitation/CompleteProfileForm.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": [ "rewrites" ], "path": "vercel.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "Stepper" ], "keys": null, "path": "src/components/ui/stepper.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "confirmDelete", "createInvitationLink", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit", "handleSendEmail" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleCheckboxChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.ts", "selectors": null }, { "functions": [ "sendCreatorInvitationEmail" ], "keys": null, "path": "src/services/invitation/sendCreatorInvitationEmail.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/invitation/fetchInvitations.ts", "selectors": null }, { "functions": [ "generateInvitationCode" ], "keys": null, "path": "src/services/invitation/createInvitation.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": [ "useSendInvitationEmail" ], "keys": null, "path": "src/hooks/useSendInvitationEmail.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "InvitationStepperPage", "fetchInvitationAndStages", "handleInputChange", "handleFacebookInputChange", "handleCheckboxChange", "handleCheckboxFacebookChange", "handlePasswordChange", "goToNextStep", "handleContinueWelcome", "handleCompleteProfileSubmit", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/invitation/[invitation_code].tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null } ]
627
[ { "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:**\ntest\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 \"rewrites\"\n ],\n \"path\": \"vercel.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"Stepper\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/stepper.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"confirmDelete\",\n \"createInvitationLink\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\",\n \"handleSendEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"sendCreatorInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/sendCreatorInvitationEmail.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/fetchInvitations.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/createInvitation.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 \"useSendInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useSendInvitationEmail.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationStepperPage\",\n \"fetchInvitationAndStages\",\n \"handleInputChange\",\n \"handleFacebookInputChange\",\n \"handleCheckboxChange\",\n \"handleCheckboxFacebookChange\",\n \"handlePasswordChange\",\n \"goToNextStep\",\n \"handleContinueWelcome\",\n \"handleCompleteProfileSubmit\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/invitation/[invitation_code].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\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"src/components/invitation/CompleteProfileForm.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
migrations commented because it generate configuration errors
{ "changed": [ "supabase/migrations/20250327220202_add_current_stage_column.sql", "supabase/migrations/20250328033500_alter_is_stage_in_project.sql", "supabase/migrations/20250328033857_alter_is_stage_in_project.sql", "supabase/migrations/20250328034250_alter_is_stage_in_project.sql", "supabase/migrations/20250328124643_add_complete_to_invitation_status_enum.sql" ], "created": [ "supabase/.branches/_current_branch", "supabase/migrations/20250331190303_remote_schema.sql" ], "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": [ "rewrites" ], "path": "vercel.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "Stepper" ], "keys": null, "path": "src/components/ui/stepper.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "confirmDelete", "createInvitationLink", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit", "handleSendEmail" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleCheckboxChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.ts", "selectors": null }, { "functions": [ "sendCreatorInvitationEmail" ], "keys": null, "path": "src/services/invitation/sendCreatorInvitationEmail.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/invitation/fetchInvitations.ts", "selectors": null }, { "functions": [ "generateInvitationCode" ], "keys": null, "path": "src/services/invitation/createInvitation.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": [ "useSendInvitationEmail" ], "keys": null, "path": "src/hooks/useSendInvitationEmail.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "InvitationStepperPage", "fetchInvitationAndStages", "handleInputChange", "handleFacebookInputChange", "handleCheckboxChange", "handleCheckboxFacebookChange", "handlePasswordChange", "goToNextStep", "handleContinueWelcome", "handleCompleteProfileSubmit", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/invitation/[invitation_code].tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null } ]
628
[ { "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:**\nmigrations commented because it generate configuration errors\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 \"rewrites\"\n ],\n \"path\": \"vercel.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"Stepper\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/stepper.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"confirmDelete\",\n \"createInvitationLink\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\",\n \"handleSendEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"sendCreatorInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/sendCreatorInvitationEmail.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/fetchInvitations.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/createInvitation.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 \"useSendInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useSendInvitationEmail.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationStepperPage\",\n \"fetchInvitationAndStages\",\n \"handleInputChange\",\n \"handleFacebookInputChange\",\n \"handleCheckboxChange\",\n \"handleCheckboxFacebookChange\",\n \"handlePasswordChange\",\n \"goToNextStep\",\n \"handleContinueWelcome\",\n \"handleCompleteProfileSubmit\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/invitation/[invitation_code].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\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"supabase/migrations/20250327220202_add_current_stage_column.sql\",\n \"supabase/migrations/20250328033500_alter_is_stage_in_project.sql\",\n \"supabase/migrations/20250328033857_alter_is_stage_in_project.sql\",\n \"supabase/migrations/20250328034250_alter_is_stage_in_project.sql\",\n \"supabase/migrations/20250328124643_add_complete_to_invitation_status_enum.sql\"\n ],\n \"created\": [\n \"supabase/.branches/_current_branch\",\n \"supabase/migrations/20250331190303_remote_schema.sql\"\n ],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Create ci.yaml
{ "changed": [], "created": [ ".github/workflows/ci.yaml" ], "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": [ "rewrites" ], "path": "vercel.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "Stepper" ], "keys": null, "path": "src/components/ui/stepper.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "confirmDelete", "createInvitationLink", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit", "handleSendEmail" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleCheckboxChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.ts", "selectors": null }, { "functions": [ "sendCreatorInvitationEmail" ], "keys": null, "path": "src/services/invitation/sendCreatorInvitationEmail.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/invitation/fetchInvitations.ts", "selectors": null }, { "functions": [ "generateInvitationCode" ], "keys": null, "path": "src/services/invitation/createInvitation.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": [ "useSendInvitationEmail" ], "keys": null, "path": "src/hooks/useSendInvitationEmail.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "InvitationStepperPage", "fetchInvitationAndStages", "handleInputChange", "handleFacebookInputChange", "handleCheckboxChange", "handleCheckboxFacebookChange", "handlePasswordChange", "goToNextStep", "handleContinueWelcome", "handleCompleteProfileSubmit", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/invitation/[invitation_code].tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null } ]
629
[ { "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 ci.yaml\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 \"rewrites\"\n ],\n \"path\": \"vercel.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"Stepper\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/stepper.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"confirmDelete\",\n \"createInvitationLink\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\",\n \"handleSendEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"sendCreatorInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/sendCreatorInvitationEmail.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/fetchInvitations.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/createInvitation.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 \"useSendInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useSendInvitationEmail.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationStepperPage\",\n \"fetchInvitationAndStages\",\n \"handleInputChange\",\n \"handleFacebookInputChange\",\n \"handleCheckboxChange\",\n \"handleCheckboxFacebookChange\",\n \"handlePasswordChange\",\n \"goToNextStep\",\n \"handleContinueWelcome\",\n \"handleCompleteProfileSubmit\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/invitation/[invitation_code].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\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [],\n \"created\": [\n \".github/workflows/ci.yaml\"\n ],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Create staging.yaml
{ "changed": [], "created": [ ".github/workflows/staging.yaml" ], "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": [ "rewrites" ], "path": "vercel.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "Stepper" ], "keys": null, "path": "src/components/ui/stepper.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "confirmDelete", "createInvitationLink", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit", "handleSendEmail" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleCheckboxChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.ts", "selectors": null }, { "functions": [ "sendCreatorInvitationEmail" ], "keys": null, "path": "src/services/invitation/sendCreatorInvitationEmail.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/invitation/fetchInvitations.ts", "selectors": null }, { "functions": [ "generateInvitationCode" ], "keys": null, "path": "src/services/invitation/createInvitation.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": [ "useSendInvitationEmail" ], "keys": null, "path": "src/hooks/useSendInvitationEmail.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "InvitationStepperPage", "fetchInvitationAndStages", "handleInputChange", "handleFacebookInputChange", "handleCheckboxChange", "handleCheckboxFacebookChange", "handlePasswordChange", "goToNextStep", "handleContinueWelcome", "handleCompleteProfileSubmit", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/invitation/[invitation_code].tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null } ]
630
[ { "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 staging.yaml\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 \"rewrites\"\n ],\n \"path\": \"vercel.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"Stepper\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/stepper.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"confirmDelete\",\n \"createInvitationLink\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\",\n \"handleSendEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"sendCreatorInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/sendCreatorInvitationEmail.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/fetchInvitations.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/createInvitation.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 \"useSendInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useSendInvitationEmail.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationStepperPage\",\n \"fetchInvitationAndStages\",\n \"handleInputChange\",\n \"handleFacebookInputChange\",\n \"handleCheckboxChange\",\n \"handleCheckboxFacebookChange\",\n \"handlePasswordChange\",\n \"goToNextStep\",\n \"handleContinueWelcome\",\n \"handleCompleteProfileSubmit\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/invitation/[invitation_code].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\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [],\n \"created\": [\n \".github/workflows/staging.yaml\"\n ],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Create production.yaml
{ "changed": [], "created": [ ".github/workflows/production.yaml" ], "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": [ "rewrites" ], "path": "vercel.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "Stepper" ], "keys": null, "path": "src/components/ui/stepper.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "confirmDelete", "createInvitationLink", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit", "handleSendEmail" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleCheckboxChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.ts", "selectors": null }, { "functions": [ "sendCreatorInvitationEmail" ], "keys": null, "path": "src/services/invitation/sendCreatorInvitationEmail.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/invitation/fetchInvitations.ts", "selectors": null }, { "functions": [ "generateInvitationCode" ], "keys": null, "path": "src/services/invitation/createInvitation.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": [ "useSendInvitationEmail" ], "keys": null, "path": "src/hooks/useSendInvitationEmail.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "InvitationStepperPage", "fetchInvitationAndStages", "handleInputChange", "handleFacebookInputChange", "handleCheckboxChange", "handleCheckboxFacebookChange", "handlePasswordChange", "goToNextStep", "handleContinueWelcome", "handleCompleteProfileSubmit", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/invitation/[invitation_code].tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null } ]
631
[ { "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 production.yaml\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 \"rewrites\"\n ],\n \"path\": \"vercel.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"Stepper\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/stepper.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"confirmDelete\",\n \"createInvitationLink\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\",\n \"handleSendEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"sendCreatorInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/sendCreatorInvitationEmail.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/fetchInvitations.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/createInvitation.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 \"useSendInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useSendInvitationEmail.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationStepperPage\",\n \"fetchInvitationAndStages\",\n \"handleInputChange\",\n \"handleFacebookInputChange\",\n \"handleCheckboxChange\",\n \"handleCheckboxFacebookChange\",\n \"handlePasswordChange\",\n \"goToNextStep\",\n \"handleContinueWelcome\",\n \"handleCompleteProfileSubmit\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/invitation/[invitation_code].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\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [],\n \"created\": [\n \".github/workflows/production.yaml\"\n ],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
init supabase
{ "changed": [ "supabase/config.toml", "supabase/migrations/20250331190303_remote_schema.sql" ], "created": [ ".vscode/extensions.json", "supabase-old/.branches/_current_branch", "supabase-old/.temp/cli-latest", "supabase-old/.temp/gotrue-version", "supabase-old/.temp/pooler-url", "supabase-old/.temp/postgres-version", "supabase-old/.temp/project-ref", "supabase-old/.temp/rest-version", "supabase-old/config.toml", "supabase-old/functions/create_validation_task.ts", "supabase-old/functions/generate-monthly-payments/index.ts", "supabase-old/functions/send-invitation-email/index.ts", "supabase-old/functions/verify-phone/index.ts", "supabase-old/migrations/20250327220202_add_current_stage_column.sql", "supabase-old/migrations/20250328033500_alter_is_stage_in_project.sql", "supabase-old/migrations/20250328033857_alter_is_stage_in_project.sql", "supabase-old/migrations/20250328034250_alter_is_stage_in_project.sql", "supabase-old/migrations/20250328124643_add_complete_to_invitation_status_enum.sql", "supabase-old/migrations/20250331190303_remote_schema.sql", "supabase-old/migrations/20250401135505_new_employee.sql", "supabase/.gitignore", "supabase/migrations/20250401144357_remote_schema.sql", "supabase/migrations/20250401145508_new_employee.sql" ], "deleted": [ "supabase/.branches/_current_branch", "supabase/functions/create_validation_task.ts", "supabase/functions/generate-monthly-payments/index.ts", "supabase/functions/send-invitation-email/index.ts", "supabase/functions/verify-phone/index.ts" ] }
[ { "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": [ "rewrites" ], "path": "vercel.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "Stepper" ], "keys": null, "path": "src/components/ui/stepper.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "confirmDelete", "createInvitationLink", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit", "handleSendEmail" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleCheckboxChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.ts", "selectors": null }, { "functions": [ "sendCreatorInvitationEmail" ], "keys": null, "path": "src/services/invitation/sendCreatorInvitationEmail.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/invitation/fetchInvitations.ts", "selectors": null }, { "functions": [ "generateInvitationCode" ], "keys": null, "path": "src/services/invitation/createInvitation.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": [ "useSendInvitationEmail" ], "keys": null, "path": "src/hooks/useSendInvitationEmail.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "InvitationStepperPage", "fetchInvitationAndStages", "handleInputChange", "handleFacebookInputChange", "handleCheckboxChange", "handleCheckboxFacebookChange", "handlePasswordChange", "goToNextStep", "handleContinueWelcome", "handleCompleteProfileSubmit", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/invitation/[invitation_code].tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase/functions/send-invitation-email/index.ts", "selectors": null } ]
632
[ { "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:**\ninit supabase\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 \"rewrites\"\n ],\n \"path\": \"vercel.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"Stepper\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/stepper.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"confirmDelete\",\n \"createInvitationLink\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\",\n \"handleSendEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"sendCreatorInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/sendCreatorInvitationEmail.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/fetchInvitations.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/createInvitation.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 \"useSendInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useSendInvitationEmail.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationStepperPage\",\n \"fetchInvitationAndStages\",\n \"handleInputChange\",\n \"handleFacebookInputChange\",\n \"handleCheckboxChange\",\n \"handleCheckboxFacebookChange\",\n \"handlePasswordChange\",\n \"goToNextStep\",\n \"handleContinueWelcome\",\n \"handleCompleteProfileSubmit\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/invitation/[invitation_code].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\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'." }, { "from": "gpt", "value": "{\n \"changed\": [\n \"supabase/config.toml\",\n \"supabase/migrations/20250331190303_remote_schema.sql\"\n ],\n \"created\": [\n \".vscode/extensions.json\",\n \"supabase-old/.branches/_current_branch\",\n \"supabase-old/.temp/cli-latest\",\n \"supabase-old/.temp/gotrue-version\",\n \"supabase-old/.temp/pooler-url\",\n \"supabase-old/.temp/postgres-version\",\n \"supabase-old/.temp/project-ref\",\n \"supabase-old/.temp/rest-version\",\n \"supabase-old/config.toml\",\n \"supabase-old/functions/create_validation_task.ts\",\n \"supabase-old/functions/generate-monthly-payments/index.ts\",\n \"supabase-old/functions/send-invitation-email/index.ts\",\n \"supabase-old/functions/verify-phone/index.ts\",\n \"supabase-old/migrations/20250327220202_add_current_stage_column.sql\",\n \"supabase-old/migrations/20250328033500_alter_is_stage_in_project.sql\",\n \"supabase-old/migrations/20250328033857_alter_is_stage_in_project.sql\",\n \"supabase-old/migrations/20250328034250_alter_is_stage_in_project.sql\",\n \"supabase-old/migrations/20250328124643_add_complete_to_invitation_status_enum.sql\",\n \"supabase-old/migrations/20250331190303_remote_schema.sql\",\n \"supabase-old/migrations/20250401135505_new_employee.sql\",\n \"supabase/.gitignore\",\n \"supabase/migrations/20250401144357_remote_schema.sql\",\n \"supabase/migrations/20250401145508_new_employee.sql\"\n ],\n \"deleted\": [\n \"supabase/.branches/_current_branch\",\n \"supabase/functions/create_validation_task.ts\",\n \"supabase/functions/generate-monthly-payments/index.ts\",\n \"supabase/functions/send-invitation-email/index.ts\",\n \"supabase/functions/verify-phone/index.ts\"\n ]\n}" } ]
gmrdaniel/grm-meta
initial migrations taken from previous db
{ "changed": [ ".vscode/extensions.json", "supabase-old/migrations/20250331190303_remote_schema.sql", "supabase/.temp/pooler-url", "supabase/.temp/project-ref" ], "created": [ "supabase/migrations/20250401151045_create_enums_set_path.sql", "supabase/migrations/20250401151245_create_initial_tables.sql", "supabase/migrations/20250401151345_create_initial_table_index.sql", "supabase/migrations/20250401151543_create_initial_functions.sql", "supabase/migrations/20250401151757_create_initial_functions_pt_2.sql", "supabase/migrations/20250401151921_initial_alter_tables.sql", "supabase/migrations/20250401152023_initial_views.sql", "supabase/migrations/20250401152131_initial_grants.sql", "supabase/migrations/20250401152330_initial_policies.sql", "supabase/migrations/20250401152421_initial_triggers.sql" ], "deleted": [ "supabase/migrations/20250327220202_add_current_stage_column.sql", "supabase/migrations/20250328033500_alter_is_stage_in_project.sql", "supabase/migrations/20250328033857_alter_is_stage_in_project.sql", "supabase/migrations/20250328034250_alter_is_stage_in_project.sql", "supabase/migrations/20250328124643_add_complete_to_invitation_status_enum.sql", "supabase/migrations/20250331190303_remote_schema.sql", "supabase/migrations/20250401144357_remote_schema.sql", "supabase/migrations/20250401145508_new_employee.sql" ] }
[ { "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": [ "rewrites" ], "path": "vercel.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": [ "recommendations" ], "path": ".vscode/extensions.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "Stepper" ], "keys": null, "path": "src/components/ui/stepper.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "confirmDelete", "createInvitationLink", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit", "handleSendEmail" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleCheckboxChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.ts", "selectors": null }, { "functions": [ "sendCreatorInvitationEmail" ], "keys": null, "path": "src/services/invitation/sendCreatorInvitationEmail.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/invitation/fetchInvitations.ts", "selectors": null }, { "functions": [ "generateInvitationCode" ], "keys": null, "path": "src/services/invitation/createInvitation.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": [ "useSendInvitationEmail" ], "keys": null, "path": "src/hooks/useSendInvitationEmail.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "InvitationStepperPage", "fetchInvitationAndStages", "handleInputChange", "handleFacebookInputChange", "handleCheckboxChange", "handleCheckboxFacebookChange", "handlePasswordChange", "goToNextStep", "handleContinueWelcome", "handleCompleteProfileSubmit", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/invitation/[invitation_code].tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase-old/functions/send-invitation-email/index.ts", "selectors": null } ]
633
[ { "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:**\ninitial migrations taken from previous db\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 \"rewrites\"\n ],\n \"path\": \"vercel.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\": [\n \"recommendations\"\n ],\n \"path\": \".vscode/extensions.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"Stepper\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/stepper.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"confirmDelete\",\n \"createInvitationLink\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\",\n \"handleSendEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"sendCreatorInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/sendCreatorInvitationEmail.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/fetchInvitations.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/createInvitation.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 \"useSendInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useSendInvitationEmail.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationStepperPage\",\n \"fetchInvitationAndStages\",\n \"handleInputChange\",\n \"handleFacebookInputChange\",\n \"handleCheckboxChange\",\n \"handleCheckboxFacebookChange\",\n \"handlePasswordChange\",\n \"goToNextStep\",\n \"handleContinueWelcome\",\n \"handleCompleteProfileSubmit\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/invitation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase-old/functions/send-invitation-email/index.ts\",\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 \".vscode/extensions.json\",\n \"supabase-old/migrations/20250331190303_remote_schema.sql\",\n \"supabase/.temp/pooler-url\",\n \"supabase/.temp/project-ref\"\n ],\n \"created\": [\n \"supabase/migrations/20250401151045_create_enums_set_path.sql\",\n \"supabase/migrations/20250401151245_create_initial_tables.sql\",\n \"supabase/migrations/20250401151345_create_initial_table_index.sql\",\n \"supabase/migrations/20250401151543_create_initial_functions.sql\",\n \"supabase/migrations/20250401151757_create_initial_functions_pt_2.sql\",\n \"supabase/migrations/20250401151921_initial_alter_tables.sql\",\n \"supabase/migrations/20250401152023_initial_views.sql\",\n \"supabase/migrations/20250401152131_initial_grants.sql\",\n \"supabase/migrations/20250401152330_initial_policies.sql\",\n \"supabase/migrations/20250401152421_initial_triggers.sql\"\n ],\n \"deleted\": [\n \"supabase/migrations/20250327220202_add_current_stage_column.sql\",\n \"supabase/migrations/20250328033500_alter_is_stage_in_project.sql\",\n \"supabase/migrations/20250328033857_alter_is_stage_in_project.sql\",\n \"supabase/migrations/20250328034250_alter_is_stage_in_project.sql\",\n \"supabase/migrations/20250328124643_add_complete_to_invitation_status_enum.sql\",\n \"supabase/migrations/20250331190303_remote_schema.sql\",\n \"supabase/migrations/20250401144357_remote_schema.sql\",\n \"supabase/migrations/20250401145508_new_employee.sql\"\n ]\n}" } ]
gmrdaniel/grm-meta
Merge pull request #5 from gmrdaniel/feat/initial-migrations Feat/initial migrations
{ "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": [ "rewrites" ], "path": "vercel.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": [ "recommendations" ], "path": ".vscode/extensions.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "Stepper" ], "keys": null, "path": "src/components/ui/stepper.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "confirmDelete", "createInvitationLink", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit", "handleSendEmail" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleCheckboxChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.ts", "selectors": null }, { "functions": [ "sendCreatorInvitationEmail" ], "keys": null, "path": "src/services/invitation/sendCreatorInvitationEmail.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/invitation/fetchInvitations.ts", "selectors": null }, { "functions": [ "generateInvitationCode" ], "keys": null, "path": "src/services/invitation/createInvitation.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": [ "useSendInvitationEmail" ], "keys": null, "path": "src/hooks/useSendInvitationEmail.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "InvitationStepperPage", "fetchInvitationAndStages", "handleInputChange", "handleFacebookInputChange", "handleCheckboxChange", "handleCheckboxFacebookChange", "handlePasswordChange", "goToNextStep", "handleContinueWelcome", "handleCompleteProfileSubmit", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/invitation/[invitation_code].tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase-old/functions/send-invitation-email/index.ts", "selectors": null } ]
634
[ { "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 #5 from gmrdaniel/feat/initial-migrations\n\nFeat/initial 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 \"rewrites\"\n ],\n \"path\": \"vercel.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\": [\n \"recommendations\"\n ],\n \"path\": \".vscode/extensions.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"Stepper\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/stepper.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"confirmDelete\",\n \"createInvitationLink\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\",\n \"handleSendEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"sendCreatorInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/sendCreatorInvitationEmail.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/fetchInvitations.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/createInvitation.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 \"useSendInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useSendInvitationEmail.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationStepperPage\",\n \"fetchInvitationAndStages\",\n \"handleInputChange\",\n \"handleFacebookInputChange\",\n \"handleCheckboxChange\",\n \"handleCheckboxFacebookChange\",\n \"handlePasswordChange\",\n \"goToNextStep\",\n \"handleContinueWelcome\",\n \"handleCompleteProfileSubmit\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/invitation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase-old/functions/send-invitation-email/index.ts\",\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
Update ci.yaml
{ "changed": [ ".github/workflows/ci.yaml" ], "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": [ "rewrites" ], "path": "vercel.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": [ "recommendations" ], "path": ".vscode/extensions.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "Stepper" ], "keys": null, "path": "src/components/ui/stepper.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "confirmDelete", "createInvitationLink", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit", "handleSendEmail" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleCheckboxChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.ts", "selectors": null }, { "functions": [ "sendCreatorInvitationEmail" ], "keys": null, "path": "src/services/invitation/sendCreatorInvitationEmail.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/invitation/fetchInvitations.ts", "selectors": null }, { "functions": [ "generateInvitationCode" ], "keys": null, "path": "src/services/invitation/createInvitation.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": [ "useSendInvitationEmail" ], "keys": null, "path": "src/hooks/useSendInvitationEmail.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "InvitationStepperPage", "fetchInvitationAndStages", "handleInputChange", "handleFacebookInputChange", "handleCheckboxChange", "handleCheckboxFacebookChange", "handlePasswordChange", "goToNextStep", "handleContinueWelcome", "handleCompleteProfileSubmit", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/invitation/[invitation_code].tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase-old/functions/send-invitation-email/index.ts", "selectors": null } ]
635
[ { "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 ci.yaml\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 \"rewrites\"\n ],\n \"path\": \"vercel.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\": [\n \"recommendations\"\n ],\n \"path\": \".vscode/extensions.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"Stepper\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/stepper.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"confirmDelete\",\n \"createInvitationLink\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\",\n \"handleSendEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"sendCreatorInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/sendCreatorInvitationEmail.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/fetchInvitations.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/createInvitation.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 \"useSendInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useSendInvitationEmail.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationStepperPage\",\n \"fetchInvitationAndStages\",\n \"handleInputChange\",\n \"handleFacebookInputChange\",\n \"handleCheckboxChange\",\n \"handleCheckboxFacebookChange\",\n \"handlePasswordChange\",\n \"goToNextStep\",\n \"handleContinueWelcome\",\n \"handleCompleteProfileSubmit\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/invitation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase-old/functions/send-invitation-email/index.ts\",\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 \".github/workflows/ci.yaml\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Update production.yaml
{ "changed": [ ".github/workflows/production.yaml" ], "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": [ "rewrites" ], "path": "vercel.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": [ "recommendations" ], "path": ".vscode/extensions.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "Stepper" ], "keys": null, "path": "src/components/ui/stepper.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "confirmDelete", "createInvitationLink", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit", "handleSendEmail" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleCheckboxChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.ts", "selectors": null }, { "functions": [ "sendCreatorInvitationEmail" ], "keys": null, "path": "src/services/invitation/sendCreatorInvitationEmail.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/invitation/fetchInvitations.ts", "selectors": null }, { "functions": [ "generateInvitationCode" ], "keys": null, "path": "src/services/invitation/createInvitation.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": [ "useSendInvitationEmail" ], "keys": null, "path": "src/hooks/useSendInvitationEmail.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "InvitationStepperPage", "fetchInvitationAndStages", "handleInputChange", "handleFacebookInputChange", "handleCheckboxChange", "handleCheckboxFacebookChange", "handlePasswordChange", "goToNextStep", "handleContinueWelcome", "handleCompleteProfileSubmit", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/invitation/[invitation_code].tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase-old/functions/send-invitation-email/index.ts", "selectors": null } ]
636
[ { "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 production.yaml\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 \"rewrites\"\n ],\n \"path\": \"vercel.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\": [\n \"recommendations\"\n ],\n \"path\": \".vscode/extensions.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"Stepper\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/stepper.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"confirmDelete\",\n \"createInvitationLink\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\",\n \"handleSendEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"sendCreatorInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/sendCreatorInvitationEmail.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/fetchInvitations.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/createInvitation.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 \"useSendInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useSendInvitationEmail.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationStepperPage\",\n \"fetchInvitationAndStages\",\n \"handleInputChange\",\n \"handleFacebookInputChange\",\n \"handleCheckboxChange\",\n \"handleCheckboxFacebookChange\",\n \"handlePasswordChange\",\n \"goToNextStep\",\n \"handleContinueWelcome\",\n \"handleCompleteProfileSubmit\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/invitation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase-old/functions/send-invitation-email/index.ts\",\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 \".github/workflows/production.yaml\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Update staging.yaml
{ "changed": [ ".github/workflows/staging.yaml" ], "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": [ "rewrites" ], "path": "vercel.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": [ "recommendations" ], "path": ".vscode/extensions.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "Stepper" ], "keys": null, "path": "src/components/ui/stepper.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "confirmDelete", "createInvitationLink", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit", "handleSendEmail" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleCheckboxChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.ts", "selectors": null }, { "functions": [ "sendCreatorInvitationEmail" ], "keys": null, "path": "src/services/invitation/sendCreatorInvitationEmail.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/invitation/fetchInvitations.ts", "selectors": null }, { "functions": [ "generateInvitationCode" ], "keys": null, "path": "src/services/invitation/createInvitation.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": [ "useSendInvitationEmail" ], "keys": null, "path": "src/hooks/useSendInvitationEmail.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "InvitationStepperPage", "fetchInvitationAndStages", "handleInputChange", "handleFacebookInputChange", "handleCheckboxChange", "handleCheckboxFacebookChange", "handlePasswordChange", "goToNextStep", "handleContinueWelcome", "handleCompleteProfileSubmit", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/invitation/[invitation_code].tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase-old/functions/send-invitation-email/index.ts", "selectors": null } ]
637
[ { "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 staging.yaml\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 \"rewrites\"\n ],\n \"path\": \"vercel.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\": [\n \"recommendations\"\n ],\n \"path\": \".vscode/extensions.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"Stepper\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/stepper.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"confirmDelete\",\n \"createInvitationLink\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\",\n \"handleSendEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"sendCreatorInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/sendCreatorInvitationEmail.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/fetchInvitations.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/createInvitation.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 \"useSendInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useSendInvitationEmail.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationStepperPage\",\n \"fetchInvitationAndStages\",\n \"handleInputChange\",\n \"handleFacebookInputChange\",\n \"handleCheckboxChange\",\n \"handleCheckboxFacebookChange\",\n \"handlePasswordChange\",\n \"goToNextStep\",\n \"handleContinueWelcome\",\n \"handleCompleteProfileSubmit\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/invitation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase-old/functions/send-invitation-email/index.ts\",\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 \".github/workflows/staging.yaml\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Update ci.yaml
{ "changed": [ ".github/workflows/ci.yaml" ], "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": [ "rewrites" ], "path": "vercel.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": [ "recommendations" ], "path": ".vscode/extensions.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "Stepper" ], "keys": null, "path": "src/components/ui/stepper.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "confirmDelete", "createInvitationLink", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit", "handleSendEmail" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleCheckboxChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.ts", "selectors": null }, { "functions": [ "sendCreatorInvitationEmail" ], "keys": null, "path": "src/services/invitation/sendCreatorInvitationEmail.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/invitation/fetchInvitations.ts", "selectors": null }, { "functions": [ "generateInvitationCode" ], "keys": null, "path": "src/services/invitation/createInvitation.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": [ "useSendInvitationEmail" ], "keys": null, "path": "src/hooks/useSendInvitationEmail.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "InvitationStepperPage", "fetchInvitationAndStages", "handleInputChange", "handleFacebookInputChange", "handleCheckboxChange", "handleCheckboxFacebookChange", "handlePasswordChange", "goToNextStep", "handleContinueWelcome", "handleCompleteProfileSubmit", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/invitation/[invitation_code].tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase-old/functions/send-invitation-email/index.ts", "selectors": null } ]
638
[ { "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 ci.yaml\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 \"rewrites\"\n ],\n \"path\": \"vercel.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\": [\n \"recommendations\"\n ],\n \"path\": \".vscode/extensions.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"Stepper\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/stepper.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"confirmDelete\",\n \"createInvitationLink\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\",\n \"handleSendEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"sendCreatorInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/sendCreatorInvitationEmail.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/fetchInvitations.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/createInvitation.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 \"useSendInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useSendInvitationEmail.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationStepperPage\",\n \"fetchInvitationAndStages\",\n \"handleInputChange\",\n \"handleFacebookInputChange\",\n \"handleCheckboxChange\",\n \"handleCheckboxFacebookChange\",\n \"handlePasswordChange\",\n \"goToNextStep\",\n \"handleContinueWelcome\",\n \"handleCompleteProfileSubmit\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/invitation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase-old/functions/send-invitation-email/index.ts\",\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 \".github/workflows/ci.yaml\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Update staging.yaml
{ "changed": [ ".github/workflows/staging.yaml" ], "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": [ "rewrites" ], "path": "vercel.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": [ "recommendations" ], "path": ".vscode/extensions.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "Stepper" ], "keys": null, "path": "src/components/ui/stepper.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "confirmDelete", "createInvitationLink", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit", "handleSendEmail" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleCheckboxChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.ts", "selectors": null }, { "functions": [ "sendCreatorInvitationEmail" ], "keys": null, "path": "src/services/invitation/sendCreatorInvitationEmail.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/invitation/fetchInvitations.ts", "selectors": null }, { "functions": [ "generateInvitationCode" ], "keys": null, "path": "src/services/invitation/createInvitation.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": [ "useSendInvitationEmail" ], "keys": null, "path": "src/hooks/useSendInvitationEmail.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "InvitationStepperPage", "fetchInvitationAndStages", "handleInputChange", "handleFacebookInputChange", "handleCheckboxChange", "handleCheckboxFacebookChange", "handlePasswordChange", "goToNextStep", "handleContinueWelcome", "handleCompleteProfileSubmit", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/invitation/[invitation_code].tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase-old/functions/send-invitation-email/index.ts", "selectors": null } ]
639
[ { "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 staging.yaml\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 \"rewrites\"\n ],\n \"path\": \"vercel.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\": [\n \"recommendations\"\n ],\n \"path\": \".vscode/extensions.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"Stepper\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/stepper.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"confirmDelete\",\n \"createInvitationLink\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\",\n \"handleSendEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"sendCreatorInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/sendCreatorInvitationEmail.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/fetchInvitations.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/createInvitation.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 \"useSendInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useSendInvitationEmail.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationStepperPage\",\n \"fetchInvitationAndStages\",\n \"handleInputChange\",\n \"handleFacebookInputChange\",\n \"handleCheckboxChange\",\n \"handleCheckboxFacebookChange\",\n \"handlePasswordChange\",\n \"goToNextStep\",\n \"handleContinueWelcome\",\n \"handleCompleteProfileSubmit\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/invitation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase-old/functions/send-invitation-email/index.ts\",\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 \".github/workflows/staging.yaml\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Merge pull request #6 from gmrdaniel/eliezerc10-patch-1 Eliezerc10 patch 1
{ "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": [ "rewrites" ], "path": "vercel.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": [ "recommendations" ], "path": ".vscode/extensions.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "Stepper" ], "keys": null, "path": "src/components/ui/stepper.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "confirmDelete", "createInvitationLink", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit", "handleSendEmail" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleCheckboxChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.ts", "selectors": null }, { "functions": [ "sendCreatorInvitationEmail" ], "keys": null, "path": "src/services/invitation/sendCreatorInvitationEmail.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/invitation/fetchInvitations.ts", "selectors": null }, { "functions": [ "generateInvitationCode" ], "keys": null, "path": "src/services/invitation/createInvitation.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": [ "useSendInvitationEmail" ], "keys": null, "path": "src/hooks/useSendInvitationEmail.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "InvitationStepperPage", "fetchInvitationAndStages", "handleInputChange", "handleFacebookInputChange", "handleCheckboxChange", "handleCheckboxFacebookChange", "handlePasswordChange", "goToNextStep", "handleContinueWelcome", "handleCompleteProfileSubmit", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/invitation/[invitation_code].tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase-old/functions/send-invitation-email/index.ts", "selectors": null } ]
640
[ { "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 #6 from gmrdaniel/eliezerc10-patch-1\n\nEliezerc10 patch 1\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 \"rewrites\"\n ],\n \"path\": \"vercel.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\": [\n \"recommendations\"\n ],\n \"path\": \".vscode/extensions.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"Stepper\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/stepper.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"confirmDelete\",\n \"createInvitationLink\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\",\n \"handleSendEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"sendCreatorInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/sendCreatorInvitationEmail.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/fetchInvitations.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/createInvitation.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 \"useSendInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useSendInvitationEmail.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationStepperPage\",\n \"fetchInvitationAndStages\",\n \"handleInputChange\",\n \"handleFacebookInputChange\",\n \"handleCheckboxChange\",\n \"handleCheckboxFacebookChange\",\n \"handlePasswordChange\",\n \"goToNextStep\",\n \"handleContinueWelcome\",\n \"handleCompleteProfileSubmit\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/invitation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase-old/functions/send-invitation-email/index.ts\",\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
Release (Production)
{ "changed": [ ".github/workflows/production.yaml" ], "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": [ "rewrites" ], "path": "vercel.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": [ "recommendations" ], "path": ".vscode/extensions.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "Stepper" ], "keys": null, "path": "src/components/ui/stepper.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "confirmDelete", "createInvitationLink", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit", "handleSendEmail" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleCheckboxChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.ts", "selectors": null }, { "functions": [ "sendCreatorInvitationEmail" ], "keys": null, "path": "src/services/invitation/sendCreatorInvitationEmail.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/invitation/fetchInvitations.ts", "selectors": null }, { "functions": [ "generateInvitationCode" ], "keys": null, "path": "src/services/invitation/createInvitation.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": [ "useSendInvitationEmail" ], "keys": null, "path": "src/hooks/useSendInvitationEmail.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "InvitationStepperPage", "fetchInvitationAndStages", "handleInputChange", "handleFacebookInputChange", "handleCheckboxChange", "handleCheckboxFacebookChange", "handlePasswordChange", "goToNextStep", "handleContinueWelcome", "handleCompleteProfileSubmit", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/invitation/[invitation_code].tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase-old/functions/send-invitation-email/index.ts", "selectors": null } ]
641
[ { "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:**\nRelease (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 \"rewrites\"\n ],\n \"path\": \"vercel.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\": [\n \"recommendations\"\n ],\n \"path\": \".vscode/extensions.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"Stepper\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/stepper.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"confirmDelete\",\n \"createInvitationLink\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\",\n \"handleSendEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"sendCreatorInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/sendCreatorInvitationEmail.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/fetchInvitations.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/createInvitation.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 \"useSendInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useSendInvitationEmail.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationStepperPage\",\n \"fetchInvitationAndStages\",\n \"handleInputChange\",\n \"handleFacebookInputChange\",\n \"handleCheckboxChange\",\n \"handleCheckboxFacebookChange\",\n \"handlePasswordChange\",\n \"goToNextStep\",\n \"handleContinueWelcome\",\n \"handleCompleteProfileSubmit\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/invitation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase-old/functions/send-invitation-email/index.ts\",\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 \".github/workflows/production.yaml\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Merge pull request #7 from gmrdaniel/eliezerc10-patch-2 Release (Production)
{ "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": [ "rewrites" ], "path": "vercel.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": [ "recommendations" ], "path": ".vscode/extensions.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "Stepper" ], "keys": null, "path": "src/components/ui/stepper.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "confirmDelete", "createInvitationLink", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit", "handleSendEmail" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleCheckboxChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.ts", "selectors": null }, { "functions": [ "sendCreatorInvitationEmail" ], "keys": null, "path": "src/services/invitation/sendCreatorInvitationEmail.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/invitation/fetchInvitations.ts", "selectors": null }, { "functions": [ "generateInvitationCode" ], "keys": null, "path": "src/services/invitation/createInvitation.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": [ "useSendInvitationEmail" ], "keys": null, "path": "src/hooks/useSendInvitationEmail.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "InvitationStepperPage", "fetchInvitationAndStages", "handleInputChange", "handleFacebookInputChange", "handleCheckboxChange", "handleCheckboxFacebookChange", "handlePasswordChange", "goToNextStep", "handleContinueWelcome", "handleCompleteProfileSubmit", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/invitation/[invitation_code].tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase-old/functions/send-invitation-email/index.ts", "selectors": null } ]
642
[ { "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 #7 from gmrdaniel/eliezerc10-patch-2\n\nRelease (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 \"rewrites\"\n ],\n \"path\": \"vercel.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\": [\n \"recommendations\"\n ],\n \"path\": \".vscode/extensions.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"Stepper\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/stepper.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"confirmDelete\",\n \"createInvitationLink\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\",\n \"handleSendEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"sendCreatorInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/sendCreatorInvitationEmail.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/fetchInvitations.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/createInvitation.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 \"useSendInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useSendInvitationEmail.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationStepperPage\",\n \"fetchInvitationAndStages\",\n \"handleInputChange\",\n \"handleFacebookInputChange\",\n \"handleCheckboxChange\",\n \"handleCheckboxFacebookChange\",\n \"handlePasswordChange\",\n \"goToNextStep\",\n \"handleContinueWelcome\",\n \"handleCompleteProfileSubmit\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/invitation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase-old/functions/send-invitation-email/index.ts\",\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
Update ci.yaml
{ "changed": [ ".github/workflows/ci.yaml" ], "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": [ "rewrites" ], "path": "vercel.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": [ "recommendations" ], "path": ".vscode/extensions.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "Stepper" ], "keys": null, "path": "src/components/ui/stepper.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "confirmDelete", "createInvitationLink", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit", "handleSendEmail" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleCheckboxChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.ts", "selectors": null }, { "functions": [ "sendCreatorInvitationEmail" ], "keys": null, "path": "src/services/invitation/sendCreatorInvitationEmail.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/invitation/fetchInvitations.ts", "selectors": null }, { "functions": [ "generateInvitationCode" ], "keys": null, "path": "src/services/invitation/createInvitation.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": [ "useSendInvitationEmail" ], "keys": null, "path": "src/hooks/useSendInvitationEmail.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "InvitationStepperPage", "fetchInvitationAndStages", "handleInputChange", "handleFacebookInputChange", "handleCheckboxChange", "handleCheckboxFacebookChange", "handlePasswordChange", "goToNextStep", "handleContinueWelcome", "handleCompleteProfileSubmit", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/invitation/[invitation_code].tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase-old/functions/send-invitation-email/index.ts", "selectors": null } ]
643
[ { "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 ci.yaml\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 \"rewrites\"\n ],\n \"path\": \"vercel.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\": [\n \"recommendations\"\n ],\n \"path\": \".vscode/extensions.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"Stepper\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/stepper.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"confirmDelete\",\n \"createInvitationLink\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\",\n \"handleSendEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"sendCreatorInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/sendCreatorInvitationEmail.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/fetchInvitations.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/createInvitation.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 \"useSendInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useSendInvitationEmail.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationStepperPage\",\n \"fetchInvitationAndStages\",\n \"handleInputChange\",\n \"handleFacebookInputChange\",\n \"handleCheckboxChange\",\n \"handleCheckboxFacebookChange\",\n \"handlePasswordChange\",\n \"goToNextStep\",\n \"handleContinueWelcome\",\n \"handleCompleteProfileSubmit\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/invitation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase-old/functions/send-invitation-email/index.ts\",\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 \".github/workflows/ci.yaml\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Update ci.yaml
{ "changed": [ ".github/workflows/ci.yaml" ], "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": [ "rewrites" ], "path": "vercel.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": [ "recommendations" ], "path": ".vscode/extensions.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "Stepper" ], "keys": null, "path": "src/components/ui/stepper.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "confirmDelete", "createInvitationLink", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit", "handleSendEmail" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleCheckboxChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.ts", "selectors": null }, { "functions": [ "sendCreatorInvitationEmail" ], "keys": null, "path": "src/services/invitation/sendCreatorInvitationEmail.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/invitation/fetchInvitations.ts", "selectors": null }, { "functions": [ "generateInvitationCode" ], "keys": null, "path": "src/services/invitation/createInvitation.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": [ "useSendInvitationEmail" ], "keys": null, "path": "src/hooks/useSendInvitationEmail.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "InvitationStepperPage", "fetchInvitationAndStages", "handleInputChange", "handleFacebookInputChange", "handleCheckboxChange", "handleCheckboxFacebookChange", "handlePasswordChange", "goToNextStep", "handleContinueWelcome", "handleCompleteProfileSubmit", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/invitation/[invitation_code].tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase-old/functions/send-invitation-email/index.ts", "selectors": null } ]
644
[ { "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 ci.yaml\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 \"rewrites\"\n ],\n \"path\": \"vercel.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\": [\n \"recommendations\"\n ],\n \"path\": \".vscode/extensions.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"Stepper\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/stepper.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"confirmDelete\",\n \"createInvitationLink\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\",\n \"handleSendEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"sendCreatorInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/sendCreatorInvitationEmail.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/fetchInvitations.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/createInvitation.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 \"useSendInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useSendInvitationEmail.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationStepperPage\",\n \"fetchInvitationAndStages\",\n \"handleInputChange\",\n \"handleFacebookInputChange\",\n \"handleCheckboxChange\",\n \"handleCheckboxFacebookChange\",\n \"handlePasswordChange\",\n \"goToNextStep\",\n \"handleContinueWelcome\",\n \"handleCompleteProfileSubmit\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/invitation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase-old/functions/send-invitation-email/index.ts\",\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 \".github/workflows/ci.yaml\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Merge pull request #9 from gmrdaniel/eliezerc10-patch-4 Eliezerc10 patch 4
{ "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": [ "rewrites" ], "path": "vercel.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": [ "recommendations" ], "path": ".vscode/extensions.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "Stepper" ], "keys": null, "path": "src/components/ui/stepper.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "confirmDelete", "createInvitationLink", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit", "handleSendEmail" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleCheckboxChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.ts", "selectors": null }, { "functions": [ "sendCreatorInvitationEmail" ], "keys": null, "path": "src/services/invitation/sendCreatorInvitationEmail.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/invitation/fetchInvitations.ts", "selectors": null }, { "functions": [ "generateInvitationCode" ], "keys": null, "path": "src/services/invitation/createInvitation.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": [ "useSendInvitationEmail" ], "keys": null, "path": "src/hooks/useSendInvitationEmail.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "InvitationStepperPage", "fetchInvitationAndStages", "handleInputChange", "handleFacebookInputChange", "handleCheckboxChange", "handleCheckboxFacebookChange", "handlePasswordChange", "goToNextStep", "handleContinueWelcome", "handleCompleteProfileSubmit", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/invitation/[invitation_code].tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase-old/functions/send-invitation-email/index.ts", "selectors": null } ]
645
[ { "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 #9 from gmrdaniel/eliezerc10-patch-4\n\nEliezerc10 patch 4\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 \"rewrites\"\n ],\n \"path\": \"vercel.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\": [\n \"recommendations\"\n ],\n \"path\": \".vscode/extensions.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"Stepper\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/stepper.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"confirmDelete\",\n \"createInvitationLink\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\",\n \"handleSendEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"sendCreatorInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/sendCreatorInvitationEmail.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/fetchInvitations.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/createInvitation.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 \"useSendInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useSendInvitationEmail.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationStepperPage\",\n \"fetchInvitationAndStages\",\n \"handleInputChange\",\n \"handleFacebookInputChange\",\n \"handleCheckboxChange\",\n \"handleCheckboxFacebookChange\",\n \"handlePasswordChange\",\n \"goToNextStep\",\n \"handleContinueWelcome\",\n \"handleCompleteProfileSubmit\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/invitation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase-old/functions/send-invitation-email/index.ts\",\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
Merge pull request #10 from gmrdaniel/develop initial schema
{ "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": [ "rewrites" ], "path": "vercel.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": [ "recommendations" ], "path": ".vscode/extensions.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "Stepper" ], "keys": null, "path": "src/components/ui/stepper.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "confirmDelete", "createInvitationLink", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit", "handleSendEmail" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleCheckboxChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.ts", "selectors": null }, { "functions": [ "sendCreatorInvitationEmail" ], "keys": null, "path": "src/services/invitation/sendCreatorInvitationEmail.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/invitation/fetchInvitations.ts", "selectors": null }, { "functions": [ "generateInvitationCode" ], "keys": null, "path": "src/services/invitation/createInvitation.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": [ "useSendInvitationEmail" ], "keys": null, "path": "src/hooks/useSendInvitationEmail.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "InvitationStepperPage", "fetchInvitationAndStages", "handleInputChange", "handleFacebookInputChange", "handleCheckboxChange", "handleCheckboxFacebookChange", "handlePasswordChange", "goToNextStep", "handleContinueWelcome", "handleCompleteProfileSubmit", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/invitation/[invitation_code].tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase-old/functions/send-invitation-email/index.ts", "selectors": null } ]
646
[ { "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/develop\n\ninitial schema\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 \"rewrites\"\n ],\n \"path\": \"vercel.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\": [\n \"recommendations\"\n ],\n \"path\": \".vscode/extensions.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"Stepper\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/stepper.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"confirmDelete\",\n \"createInvitationLink\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\",\n \"handleSendEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"sendCreatorInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/sendCreatorInvitationEmail.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/fetchInvitations.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/createInvitation.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 \"useSendInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useSendInvitationEmail.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationStepperPage\",\n \"fetchInvitationAndStages\",\n \"handleInputChange\",\n \"handleFacebookInputChange\",\n \"handleCheckboxChange\",\n \"handleCheckboxFacebookChange\",\n \"handlePasswordChange\",\n \"goToNextStep\",\n \"handleContinueWelcome\",\n \"handleCompleteProfileSubmit\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/invitation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase-old/functions/send-invitation-email/index.ts\",\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
Delete .env
{ "changed": [], "created": [], "deleted": [ ".env" ] }
[ { "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": [ "rewrites" ], "path": "vercel.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": [ "recommendations" ], "path": ".vscode/extensions.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "Stepper" ], "keys": null, "path": "src/components/ui/stepper.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "confirmDelete", "createInvitationLink", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit", "handleSendEmail" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleCheckboxChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.ts", "selectors": null }, { "functions": [ "sendCreatorInvitationEmail" ], "keys": null, "path": "src/services/invitation/sendCreatorInvitationEmail.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/invitation/fetchInvitations.ts", "selectors": null }, { "functions": [ "generateInvitationCode" ], "keys": null, "path": "src/services/invitation/createInvitation.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": [ "useSendInvitationEmail" ], "keys": null, "path": "src/hooks/useSendInvitationEmail.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "InvitationStepperPage", "fetchInvitationAndStages", "handleInputChange", "handleFacebookInputChange", "handleCheckboxChange", "handleCheckboxFacebookChange", "handlePasswordChange", "goToNextStep", "handleContinueWelcome", "handleCompleteProfileSubmit", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/invitation/[invitation_code].tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase-old/functions/send-invitation-email/index.ts", "selectors": null } ]
647
[ { "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:**\nDelete .env\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 \"rewrites\"\n ],\n \"path\": \"vercel.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\": [\n \"recommendations\"\n ],\n \"path\": \".vscode/extensions.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"Stepper\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/stepper.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"confirmDelete\",\n \"createInvitationLink\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\",\n \"handleSendEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"sendCreatorInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/sendCreatorInvitationEmail.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/fetchInvitations.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/createInvitation.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 \"useSendInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useSendInvitationEmail.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationStepperPage\",\n \"fetchInvitationAndStages\",\n \"handleInputChange\",\n \"handleFacebookInputChange\",\n \"handleCheckboxChange\",\n \"handleCheckboxFacebookChange\",\n \"handlePasswordChange\",\n \"goToNextStep\",\n \"handleContinueWelcome\",\n \"handleCompleteProfileSubmit\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/invitation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase-old/functions/send-invitation-email/index.ts\",\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 \".env\"\n ]\n}" } ]
gmrdaniel/grm-meta
Merge pull request #11 from gmrdaniel/delete-.env Delete .env
{ "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": [ "rewrites" ], "path": "vercel.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": [ "recommendations" ], "path": ".vscode/extensions.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "Stepper" ], "keys": null, "path": "src/components/ui/stepper.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "confirmDelete", "createInvitationLink", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit", "handleSendEmail" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleCheckboxChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.ts", "selectors": null }, { "functions": [ "sendCreatorInvitationEmail" ], "keys": null, "path": "src/services/invitation/sendCreatorInvitationEmail.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/invitation/fetchInvitations.ts", "selectors": null }, { "functions": [ "generateInvitationCode" ], "keys": null, "path": "src/services/invitation/createInvitation.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": [ "useSendInvitationEmail" ], "keys": null, "path": "src/hooks/useSendInvitationEmail.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "InvitationStepperPage", "fetchInvitationAndStages", "handleInputChange", "handleFacebookInputChange", "handleCheckboxChange", "handleCheckboxFacebookChange", "handlePasswordChange", "goToNextStep", "handleContinueWelcome", "handleCompleteProfileSubmit", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/invitation/[invitation_code].tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase-old/functions/send-invitation-email/index.ts", "selectors": null } ]
648
[ { "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/delete-.env\n\nDelete .env\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 \"rewrites\"\n ],\n \"path\": \"vercel.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\": [\n \"recommendations\"\n ],\n \"path\": \".vscode/extensions.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"Stepper\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/stepper.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"confirmDelete\",\n \"createInvitationLink\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\",\n \"handleSendEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"sendCreatorInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/sendCreatorInvitationEmail.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/fetchInvitations.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/createInvitation.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 \"useSendInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useSendInvitationEmail.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationStepperPage\",\n \"fetchInvitationAndStages\",\n \"handleInputChange\",\n \"handleFacebookInputChange\",\n \"handleCheckboxChange\",\n \"handleCheckboxFacebookChange\",\n \"handlePasswordChange\",\n \"goToNextStep\",\n \"handleContinueWelcome\",\n \"handleCompleteProfileSubmit\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/invitation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase-old/functions/send-invitation-email/index.ts\",\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
delete old supabase config and add env
{ "changed": [ ".gitignore", "package-lock.json", "package.json", "src/integrations/supabase/client.ts" ], "created": [], "deleted": [ "supabase-old/.branches/_current_branch", "supabase-old/.temp/cli-latest", "supabase-old/.temp/gotrue-version", "supabase-old/.temp/pooler-url", "supabase-old/.temp/postgres-version", "supabase-old/.temp/project-ref", "supabase-old/.temp/rest-version", "supabase-old/config.toml", "supabase-old/functions/create_validation_task.ts", "supabase-old/functions/generate-monthly-payments/index.ts", "supabase-old/functions/send-invitation-email/index.ts", "supabase-old/functions/verify-phone/index.ts", "supabase-old/migrations/20250327220202_add_current_stage_column.sql", "supabase-old/migrations/20250328033500_alter_is_stage_in_project.sql", "supabase-old/migrations/20250328033857_alter_is_stage_in_project.sql", "supabase-old/migrations/20250328034250_alter_is_stage_in_project.sql", "supabase-old/migrations/20250328124643_add_complete_to_invitation_status_enum.sql", "supabase-old/migrations/20250331190303_remote_schema.sql", "supabase-old/migrations/20250401135505_new_employee.sql" ] }
[ { "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": [ "rewrites" ], "path": "vercel.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": [ "recommendations" ], "path": ".vscode/extensions.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "Stepper" ], "keys": null, "path": "src/components/ui/stepper.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "confirmDelete", "createInvitationLink", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit", "handleSendEmail" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleCheckboxChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.ts", "selectors": null }, { "functions": [ "sendCreatorInvitationEmail" ], "keys": null, "path": "src/services/invitation/sendCreatorInvitationEmail.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/invitation/fetchInvitations.ts", "selectors": null }, { "functions": [ "generateInvitationCode" ], "keys": null, "path": "src/services/invitation/createInvitation.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": [ "useSendInvitationEmail" ], "keys": null, "path": "src/hooks/useSendInvitationEmail.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "InvitationStepperPage", "fetchInvitationAndStages", "handleInputChange", "handleFacebookInputChange", "handleCheckboxChange", "handleCheckboxFacebookChange", "handlePasswordChange", "goToNextStep", "handleContinueWelcome", "handleCompleteProfileSubmit", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/invitation/[invitation_code].tsx", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "supabase-old/functions/send-invitation-email/index.ts", "selectors": null } ]
649
[ { "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:**\ndelete old supabase config and add env\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 \"rewrites\"\n ],\n \"path\": \"vercel.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\": [\n \"recommendations\"\n ],\n \"path\": \".vscode/extensions.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"Stepper\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/stepper.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"confirmDelete\",\n \"createInvitationLink\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\",\n \"handleSendEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"sendCreatorInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/sendCreatorInvitationEmail.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/fetchInvitations.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/createInvitation.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 \"useSendInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useSendInvitationEmail.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationStepperPage\",\n \"fetchInvitationAndStages\",\n \"handleInputChange\",\n \"handleFacebookInputChange\",\n \"handleCheckboxChange\",\n \"handleCheckboxFacebookChange\",\n \"handlePasswordChange\",\n \"goToNextStep\",\n \"handleContinueWelcome\",\n \"handleCompleteProfileSubmit\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/invitation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"supabase-old/functions/send-invitation-email/index.ts\",\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 \".gitignore\",\n \"package-lock.json\",\n \"package.json\",\n \"src/integrations/supabase/client.ts\"\n ],\n \"created\": [],\n \"deleted\": [\n \"supabase-old/.branches/_current_branch\",\n \"supabase-old/.temp/cli-latest\",\n \"supabase-old/.temp/gotrue-version\",\n \"supabase-old/.temp/pooler-url\",\n \"supabase-old/.temp/postgres-version\",\n \"supabase-old/.temp/project-ref\",\n \"supabase-old/.temp/rest-version\",\n \"supabase-old/config.toml\",\n \"supabase-old/functions/create_validation_task.ts\",\n \"supabase-old/functions/generate-monthly-payments/index.ts\",\n \"supabase-old/functions/send-invitation-email/index.ts\",\n \"supabase-old/functions/verify-phone/index.ts\",\n \"supabase-old/migrations/20250327220202_add_current_stage_column.sql\",\n \"supabase-old/migrations/20250328033500_alter_is_stage_in_project.sql\",\n \"supabase-old/migrations/20250328033857_alter_is_stage_in_project.sql\",\n \"supabase-old/migrations/20250328034250_alter_is_stage_in_project.sql\",\n \"supabase-old/migrations/20250328124643_add_complete_to_invitation_status_enum.sql\",\n \"supabase-old/migrations/20250331190303_remote_schema.sql\",\n \"supabase-old/migrations/20250401135505_new_employee.sql\"\n ]\n}" } ]
gmrdaniel/grm-meta
Merge pull request #12 from gmrdaniel/develop Develop
{ "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": [ "rewrites" ], "path": "vercel.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": [ "recommendations" ], "path": ".vscode/extensions.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "Stepper" ], "keys": null, "path": "src/components/ui/stepper.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "confirmDelete", "createInvitationLink", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit", "handleSendEmail" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleCheckboxChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.ts", "selectors": null }, { "functions": [ "sendCreatorInvitationEmail" ], "keys": null, "path": "src/services/invitation/sendCreatorInvitationEmail.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/invitation/fetchInvitations.ts", "selectors": null }, { "functions": [ "generateInvitationCode" ], "keys": null, "path": "src/services/invitation/createInvitation.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": [ "useSendInvitationEmail" ], "keys": null, "path": "src/hooks/useSendInvitationEmail.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "InvitationStepperPage", "fetchInvitationAndStages", "handleInputChange", "handleFacebookInputChange", "handleCheckboxChange", "handleCheckboxFacebookChange", "handlePasswordChange", "goToNextStep", "handleContinueWelcome", "handleCompleteProfileSubmit", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/invitation/[invitation_code].tsx", "selectors": null } ]
650
[ { "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/develop\n\nDevelop\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 \"rewrites\"\n ],\n \"path\": \"vercel.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\": [\n \"recommendations\"\n ],\n \"path\": \".vscode/extensions.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"Stepper\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/stepper.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"confirmDelete\",\n \"createInvitationLink\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\",\n \"handleSendEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"sendCreatorInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/sendCreatorInvitationEmail.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/fetchInvitations.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/createInvitation.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 \"useSendInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useSendInvitationEmail.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationStepperPage\",\n \"fetchInvitationAndStages\",\n \"handleInputChange\",\n \"handleFacebookInputChange\",\n \"handleCheckboxChange\",\n \"handleCheckboxFacebookChange\",\n \"handlePasswordChange\",\n \"goToNextStep\",\n \"handleContinueWelcome\",\n \"handleCompleteProfileSubmit\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/invitation/[invitation_code].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
Update production.yaml
{ "changed": [ ".github/workflows/production.yaml" ], "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": [ "rewrites" ], "path": "vercel.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": [ "recommendations" ], "path": ".vscode/extensions.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "Stepper" ], "keys": null, "path": "src/components/ui/stepper.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "confirmDelete", "createInvitationLink", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit", "handleSendEmail" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleCheckboxChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.ts", "selectors": null }, { "functions": [ "sendCreatorInvitationEmail" ], "keys": null, "path": "src/services/invitation/sendCreatorInvitationEmail.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/invitation/fetchInvitations.ts", "selectors": null }, { "functions": [ "generateInvitationCode" ], "keys": null, "path": "src/services/invitation/createInvitation.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": [ "useSendInvitationEmail" ], "keys": null, "path": "src/hooks/useSendInvitationEmail.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "InvitationStepperPage", "fetchInvitationAndStages", "handleInputChange", "handleFacebookInputChange", "handleCheckboxChange", "handleCheckboxFacebookChange", "handlePasswordChange", "goToNextStep", "handleContinueWelcome", "handleCompleteProfileSubmit", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/invitation/[invitation_code].tsx", "selectors": null } ]
651
[ { "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 production.yaml\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 \"rewrites\"\n ],\n \"path\": \"vercel.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\": [\n \"recommendations\"\n ],\n \"path\": \".vscode/extensions.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"Stepper\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/stepper.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"confirmDelete\",\n \"createInvitationLink\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\",\n \"handleSendEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"sendCreatorInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/sendCreatorInvitationEmail.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/fetchInvitations.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/createInvitation.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 \"useSendInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useSendInvitationEmail.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationStepperPage\",\n \"fetchInvitationAndStages\",\n \"handleInputChange\",\n \"handleFacebookInputChange\",\n \"handleCheckboxChange\",\n \"handleCheckboxFacebookChange\",\n \"handlePasswordChange\",\n \"goToNextStep\",\n \"handleContinueWelcome\",\n \"handleCompleteProfileSubmit\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/invitation/[invitation_code].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 \".github/workflows/production.yaml\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Merge pull request #13 from gmrdaniel/eliezerc10-patch-4 Eliezerc10 patch 4
{ "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": [ "rewrites" ], "path": "vercel.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": [ "recommendations" ], "path": ".vscode/extensions.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "Stepper" ], "keys": null, "path": "src/components/ui/stepper.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "confirmDelete", "createInvitationLink", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit", "handleSendEmail" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleCheckboxChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.ts", "selectors": null }, { "functions": [ "sendCreatorInvitationEmail" ], "keys": null, "path": "src/services/invitation/sendCreatorInvitationEmail.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/invitation/fetchInvitations.ts", "selectors": null }, { "functions": [ "generateInvitationCode" ], "keys": null, "path": "src/services/invitation/createInvitation.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": [ "useSendInvitationEmail" ], "keys": null, "path": "src/hooks/useSendInvitationEmail.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "InvitationStepperPage", "fetchInvitationAndStages", "handleInputChange", "handleFacebookInputChange", "handleCheckboxChange", "handleCheckboxFacebookChange", "handlePasswordChange", "goToNextStep", "handleContinueWelcome", "handleCompleteProfileSubmit", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/invitation/[invitation_code].tsx", "selectors": null } ]
652
[ { "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/eliezerc10-patch-4\n\nEliezerc10 patch 4\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 \"rewrites\"\n ],\n \"path\": \"vercel.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\": [\n \"recommendations\"\n ],\n \"path\": \".vscode/extensions.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"Stepper\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/stepper.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"confirmDelete\",\n \"createInvitationLink\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\",\n \"handleSendEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"sendCreatorInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/sendCreatorInvitationEmail.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/fetchInvitations.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/createInvitation.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 \"useSendInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useSendInvitationEmail.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationStepperPage\",\n \"fetchInvitationAndStages\",\n \"handleInputChange\",\n \"handleFacebookInputChange\",\n \"handleCheckboxChange\",\n \"handleCheckboxFacebookChange\",\n \"handlePasswordChange\",\n \"goToNextStep\",\n \"handleContinueWelcome\",\n \"handleCompleteProfileSubmit\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/invitation/[invitation_code].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
Merge pull request #14 from gmrdaniel/develop Develop
{ "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": [ "rewrites" ], "path": "vercel.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": [ "recommendations" ], "path": ".vscode/extensions.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "Stepper" ], "keys": null, "path": "src/components/ui/stepper.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "confirmDelete", "createInvitationLink", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit", "handleSendEmail" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleCheckboxChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.ts", "selectors": null }, { "functions": [ "sendCreatorInvitationEmail" ], "keys": null, "path": "src/services/invitation/sendCreatorInvitationEmail.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/invitation/fetchInvitations.ts", "selectors": null }, { "functions": [ "generateInvitationCode" ], "keys": null, "path": "src/services/invitation/createInvitation.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": [ "useSendInvitationEmail" ], "keys": null, "path": "src/hooks/useSendInvitationEmail.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "InvitationStepperPage", "fetchInvitationAndStages", "handleInputChange", "handleFacebookInputChange", "handleCheckboxChange", "handleCheckboxFacebookChange", "handlePasswordChange", "goToNextStep", "handleContinueWelcome", "handleCompleteProfileSubmit", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/invitation/[invitation_code].tsx", "selectors": null } ]
653
[ { "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/develop\n\nDevelop\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 \"rewrites\"\n ],\n \"path\": \"vercel.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\": [\n \"recommendations\"\n ],\n \"path\": \".vscode/extensions.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"Stepper\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/stepper.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"confirmDelete\",\n \"createInvitationLink\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\",\n \"handleSendEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"sendCreatorInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/sendCreatorInvitationEmail.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/fetchInvitations.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/createInvitation.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 \"useSendInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useSendInvitationEmail.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationStepperPage\",\n \"fetchInvitationAndStages\",\n \"handleInputChange\",\n \"handleFacebookInputChange\",\n \"handleCheckboxChange\",\n \"handleCheckboxFacebookChange\",\n \"handlePasswordChange\",\n \"goToNextStep\",\n \"handleContinueWelcome\",\n \"handleCompleteProfileSubmit\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/invitation/[invitation_code].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
correct client
{ "changed": [ "package-lock.json", "package.json", "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": [ "rewrites" ], "path": "vercel.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": [ "recommendations" ], "path": ".vscode/extensions.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "Stepper" ], "keys": null, "path": "src/components/ui/stepper.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "confirmDelete", "createInvitationLink", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit", "handleSendEmail" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleCheckboxChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.ts", "selectors": null }, { "functions": [ "sendCreatorInvitationEmail" ], "keys": null, "path": "src/services/invitation/sendCreatorInvitationEmail.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/invitation/fetchInvitations.ts", "selectors": null }, { "functions": [ "generateInvitationCode" ], "keys": null, "path": "src/services/invitation/createInvitation.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": [ "useSendInvitationEmail" ], "keys": null, "path": "src/hooks/useSendInvitationEmail.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "InvitationStepperPage", "fetchInvitationAndStages", "handleInputChange", "handleFacebookInputChange", "handleCheckboxChange", "handleCheckboxFacebookChange", "handlePasswordChange", "goToNextStep", "handleContinueWelcome", "handleCompleteProfileSubmit", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/invitation/[invitation_code].tsx", "selectors": null } ]
654
[ { "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:**\ncorrect client\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 \"rewrites\"\n ],\n \"path\": \"vercel.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\": [\n \"recommendations\"\n ],\n \"path\": \".vscode/extensions.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"Stepper\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/stepper.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"confirmDelete\",\n \"createInvitationLink\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\",\n \"handleSendEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"sendCreatorInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/sendCreatorInvitationEmail.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/fetchInvitations.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/createInvitation.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 \"useSendInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useSendInvitationEmail.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationStepperPage\",\n \"fetchInvitationAndStages\",\n \"handleInputChange\",\n \"handleFacebookInputChange\",\n \"handleCheckboxChange\",\n \"handleCheckboxFacebookChange\",\n \"handlePasswordChange\",\n \"goToNextStep\",\n \"handleContinueWelcome\",\n \"handleCompleteProfileSubmit\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/invitation/[invitation_code].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 ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Merge branch 'develop' of https://github.com/gmrdaniel/grm-meta into develop
{ "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": [ "rewrites" ], "path": "vercel.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": [ "recommendations" ], "path": ".vscode/extensions.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "Stepper" ], "keys": null, "path": "src/components/ui/stepper.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "confirmDelete", "createInvitationLink", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit", "handleSendEmail" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleCheckboxChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.ts", "selectors": null }, { "functions": [ "sendCreatorInvitationEmail" ], "keys": null, "path": "src/services/invitation/sendCreatorInvitationEmail.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/invitation/fetchInvitations.ts", "selectors": null }, { "functions": [ "generateInvitationCode" ], "keys": null, "path": "src/services/invitation/createInvitation.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": [ "useSendInvitationEmail" ], "keys": null, "path": "src/hooks/useSendInvitationEmail.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "InvitationStepperPage", "fetchInvitationAndStages", "handleInputChange", "handleFacebookInputChange", "handleCheckboxChange", "handleCheckboxFacebookChange", "handlePasswordChange", "goToNextStep", "handleContinueWelcome", "handleCompleteProfileSubmit", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/invitation/[invitation_code].tsx", "selectors": null } ]
655
[ { "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 'develop' of https://github.com/gmrdaniel/grm-meta into develop\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 \"rewrites\"\n ],\n \"path\": \"vercel.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\": [\n \"recommendations\"\n ],\n \"path\": \".vscode/extensions.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"Stepper\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/stepper.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"confirmDelete\",\n \"createInvitationLink\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\",\n \"handleSendEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"sendCreatorInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/sendCreatorInvitationEmail.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/fetchInvitations.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/createInvitation.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 \"useSendInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useSendInvitationEmail.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationStepperPage\",\n \"fetchInvitationAndStages\",\n \"handleInputChange\",\n \"handleFacebookInputChange\",\n \"handleCheckboxChange\",\n \"handleCheckboxFacebookChange\",\n \"handlePasswordChange\",\n \"goToNextStep\",\n \"handleContinueWelcome\",\n \"handleCompleteProfileSubmit\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/invitation/[invitation_code].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
log para BD
{ "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": [ "rewrites" ], "path": "vercel.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": [ "recommendations" ], "path": ".vscode/extensions.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "Stepper" ], "keys": null, "path": "src/components/ui/stepper.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "confirmDelete", "createInvitationLink", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit", "handleSendEmail" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleCheckboxChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.ts", "selectors": null }, { "functions": [ "sendCreatorInvitationEmail" ], "keys": null, "path": "src/services/invitation/sendCreatorInvitationEmail.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/invitation/fetchInvitations.ts", "selectors": null }, { "functions": [ "generateInvitationCode" ], "keys": null, "path": "src/services/invitation/createInvitation.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": [ "useSendInvitationEmail" ], "keys": null, "path": "src/hooks/useSendInvitationEmail.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "InvitationStepperPage", "fetchInvitationAndStages", "handleInputChange", "handleFacebookInputChange", "handleCheckboxChange", "handleCheckboxFacebookChange", "handlePasswordChange", "goToNextStep", "handleContinueWelcome", "handleCompleteProfileSubmit", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/invitation/[invitation_code].tsx", "selectors": null } ]
656
[ { "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:**\nlog para BD\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 \"rewrites\"\n ],\n \"path\": \"vercel.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\": [\n \"recommendations\"\n ],\n \"path\": \".vscode/extensions.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"Stepper\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/stepper.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"confirmDelete\",\n \"createInvitationLink\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\",\n \"handleSendEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"sendCreatorInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/sendCreatorInvitationEmail.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/fetchInvitations.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/createInvitation.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 \"useSendInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useSendInvitationEmail.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationStepperPage\",\n \"fetchInvitationAndStages\",\n \"handleInputChange\",\n \"handleFacebookInputChange\",\n \"handleCheckboxChange\",\n \"handleCheckboxFacebookChange\",\n \"handlePasswordChange\",\n \"goToNextStep\",\n \"handleContinueWelcome\",\n \"handleCompleteProfileSubmit\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/invitation/[invitation_code].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
log para BD
{ "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": [ "rewrites" ], "path": "vercel.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": [ "recommendations" ], "path": ".vscode/extensions.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "Stepper" ], "keys": null, "path": "src/components/ui/stepper.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "confirmDelete", "createInvitationLink", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit", "handleSendEmail" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleCheckboxChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.ts", "selectors": null }, { "functions": [ "sendCreatorInvitationEmail" ], "keys": null, "path": "src/services/invitation/sendCreatorInvitationEmail.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/invitation/fetchInvitations.ts", "selectors": null }, { "functions": [ "generateInvitationCode" ], "keys": null, "path": "src/services/invitation/createInvitation.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": [ "useSendInvitationEmail" ], "keys": null, "path": "src/hooks/useSendInvitationEmail.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "InvitationStepperPage", "fetchInvitationAndStages", "handleInputChange", "handleFacebookInputChange", "handleCheckboxChange", "handleCheckboxFacebookChange", "handlePasswordChange", "goToNextStep", "handleContinueWelcome", "handleCompleteProfileSubmit", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/invitation/[invitation_code].tsx", "selectors": null } ]
657
[ { "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:**\nlog para BD\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 \"rewrites\"\n ],\n \"path\": \"vercel.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\": [\n \"recommendations\"\n ],\n \"path\": \".vscode/extensions.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"Stepper\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/stepper.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"confirmDelete\",\n \"createInvitationLink\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\",\n \"handleSendEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"sendCreatorInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/sendCreatorInvitationEmail.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/fetchInvitations.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/createInvitation.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 \"useSendInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useSendInvitationEmail.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationStepperPage\",\n \"fetchInvitationAndStages\",\n \"handleInputChange\",\n \"handleFacebookInputChange\",\n \"handleCheckboxChange\",\n \"handleCheckboxFacebookChange\",\n \"handlePasswordChange\",\n \"goToNextStep\",\n \"handleContinueWelcome\",\n \"handleCompleteProfileSubmit\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/invitation/[invitation_code].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 #15 from gmrdaniel/develop Develop
{ "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": [ "rewrites" ], "path": "vercel.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": [ "recommendations" ], "path": ".vscode/extensions.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "Stepper" ], "keys": null, "path": "src/components/ui/stepper.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "confirmDelete", "createInvitationLink", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit", "handleSendEmail" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleCheckboxChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.ts", "selectors": null }, { "functions": [ "sendCreatorInvitationEmail" ], "keys": null, "path": "src/services/invitation/sendCreatorInvitationEmail.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/invitation/fetchInvitations.ts", "selectors": null }, { "functions": [ "generateInvitationCode" ], "keys": null, "path": "src/services/invitation/createInvitation.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": [ "useSendInvitationEmail" ], "keys": null, "path": "src/hooks/useSendInvitationEmail.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "InvitationStepperPage", "fetchInvitationAndStages", "handleInputChange", "handleFacebookInputChange", "handleCheckboxChange", "handleCheckboxFacebookChange", "handlePasswordChange", "goToNextStep", "handleContinueWelcome", "handleCompleteProfileSubmit", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/invitation/[invitation_code].tsx", "selectors": null } ]
658
[ { "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/develop\n\nDevelop\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 \"rewrites\"\n ],\n \"path\": \"vercel.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\": [\n \"recommendations\"\n ],\n \"path\": \".vscode/extensions.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"Stepper\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/stepper.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"confirmDelete\",\n \"createInvitationLink\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\",\n \"handleSendEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"sendCreatorInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/sendCreatorInvitationEmail.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/fetchInvitations.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/createInvitation.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 \"useSendInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useSendInvitationEmail.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationStepperPage\",\n \"fetchInvitationAndStages\",\n \"handleInputChange\",\n \"handleFacebookInputChange\",\n \"handleCheckboxChange\",\n \"handleCheckboxFacebookChange\",\n \"handlePasswordChange\",\n \"goToNextStep\",\n \"handleContinueWelcome\",\n \"handleCompleteProfileSubmit\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/invitation/[invitation_code].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
as string
{ "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": [ "rewrites" ], "path": "vercel.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": [ "recommendations" ], "path": ".vscode/extensions.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "Stepper" ], "keys": null, "path": "src/components/ui/stepper.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "confirmDelete", "createInvitationLink", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit", "handleSendEmail" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleCheckboxChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.ts", "selectors": null }, { "functions": [ "sendCreatorInvitationEmail" ], "keys": null, "path": "src/services/invitation/sendCreatorInvitationEmail.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/invitation/fetchInvitations.ts", "selectors": null }, { "functions": [ "generateInvitationCode" ], "keys": null, "path": "src/services/invitation/createInvitation.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": [ "useSendInvitationEmail" ], "keys": null, "path": "src/hooks/useSendInvitationEmail.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "InvitationStepperPage", "fetchInvitationAndStages", "handleInputChange", "handleFacebookInputChange", "handleCheckboxChange", "handleCheckboxFacebookChange", "handlePasswordChange", "goToNextStep", "handleContinueWelcome", "handleCompleteProfileSubmit", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/invitation/[invitation_code].tsx", "selectors": null } ]
659
[ { "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:**\nas string\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 \"rewrites\"\n ],\n \"path\": \"vercel.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\": [\n \"recommendations\"\n ],\n \"path\": \".vscode/extensions.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"Stepper\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/stepper.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"confirmDelete\",\n \"createInvitationLink\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\",\n \"handleSendEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"sendCreatorInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/sendCreatorInvitationEmail.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/fetchInvitations.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/createInvitation.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 \"useSendInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useSendInvitationEmail.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationStepperPage\",\n \"fetchInvitationAndStages\",\n \"handleInputChange\",\n \"handleFacebookInputChange\",\n \"handleCheckboxChange\",\n \"handleCheckboxFacebookChange\",\n \"handlePasswordChange\",\n \"goToNextStep\",\n \"handleContinueWelcome\",\n \"handleCompleteProfileSubmit\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/invitation/[invitation_code].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
log para BD
{ "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": [ "rewrites" ], "path": "vercel.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": [ "recommendations" ], "path": ".vscode/extensions.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "Stepper" ], "keys": null, "path": "src/components/ui/stepper.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "confirmDelete", "createInvitationLink", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit", "handleSendEmail" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleCheckboxChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.ts", "selectors": null }, { "functions": [ "sendCreatorInvitationEmail" ], "keys": null, "path": "src/services/invitation/sendCreatorInvitationEmail.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/invitation/fetchInvitations.ts", "selectors": null }, { "functions": [ "generateInvitationCode" ], "keys": null, "path": "src/services/invitation/createInvitation.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": [ "useSendInvitationEmail" ], "keys": null, "path": "src/hooks/useSendInvitationEmail.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "InvitationStepperPage", "fetchInvitationAndStages", "handleInputChange", "handleFacebookInputChange", "handleCheckboxChange", "handleCheckboxFacebookChange", "handlePasswordChange", "goToNextStep", "handleContinueWelcome", "handleCompleteProfileSubmit", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/invitation/[invitation_code].tsx", "selectors": null } ]
660
[ { "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:**\nlog para BD\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 \"rewrites\"\n ],\n \"path\": \"vercel.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\": [\n \"recommendations\"\n ],\n \"path\": \".vscode/extensions.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"Stepper\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/stepper.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"confirmDelete\",\n \"createInvitationLink\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\",\n \"handleSendEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"sendCreatorInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/sendCreatorInvitationEmail.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/fetchInvitations.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/createInvitation.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 \"useSendInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useSendInvitationEmail.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationStepperPage\",\n \"fetchInvitationAndStages\",\n \"handleInputChange\",\n \"handleFacebookInputChange\",\n \"handleCheckboxChange\",\n \"handleCheckboxFacebookChange\",\n \"handlePasswordChange\",\n \"goToNextStep\",\n \"handleContinueWelcome\",\n \"handleCompleteProfileSubmit\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/invitation/[invitation_code].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 #16 from gmrdaniel/develop log para BD
{ "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": [ "rewrites" ], "path": "vercel.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": [ "recommendations" ], "path": ".vscode/extensions.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "Stepper" ], "keys": null, "path": "src/components/ui/stepper.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "confirmDelete", "createInvitationLink", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit", "handleSendEmail" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleCheckboxChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.ts", "selectors": null }, { "functions": [ "sendCreatorInvitationEmail" ], "keys": null, "path": "src/services/invitation/sendCreatorInvitationEmail.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/invitation/fetchInvitations.ts", "selectors": null }, { "functions": [ "generateInvitationCode" ], "keys": null, "path": "src/services/invitation/createInvitation.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": [ "useSendInvitationEmail" ], "keys": null, "path": "src/hooks/useSendInvitationEmail.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "InvitationStepperPage", "fetchInvitationAndStages", "handleInputChange", "handleFacebookInputChange", "handleCheckboxChange", "handleCheckboxFacebookChange", "handlePasswordChange", "goToNextStep", "handleContinueWelcome", "handleCompleteProfileSubmit", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/invitation/[invitation_code].tsx", "selectors": null } ]
661
[ { "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 #16 from gmrdaniel/develop\n\nlog para BD\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 \"rewrites\"\n ],\n \"path\": \"vercel.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\": [\n \"recommendations\"\n ],\n \"path\": \".vscode/extensions.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"Stepper\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/stepper.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"confirmDelete\",\n \"createInvitationLink\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\",\n \"handleSendEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"sendCreatorInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/sendCreatorInvitationEmail.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/fetchInvitations.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/createInvitation.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 \"useSendInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useSendInvitationEmail.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationStepperPage\",\n \"fetchInvitationAndStages\",\n \"handleInputChange\",\n \"handleFacebookInputChange\",\n \"handleCheckboxChange\",\n \"handleCheckboxFacebookChange\",\n \"handlePasswordChange\",\n \"goToNextStep\",\n \"handleContinueWelcome\",\n \"handleCompleteProfileSubmit\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/invitation/[invitation_code].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
Merge branch 'develop' of https://github.com/gmrdaniel/grm-meta into develop
{ "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": [ "rewrites" ], "path": "vercel.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": [ "recommendations" ], "path": ".vscode/extensions.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "Stepper" ], "keys": null, "path": "src/components/ui/stepper.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "confirmDelete", "createInvitationLink", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit", "handleSendEmail" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleCheckboxChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.ts", "selectors": null }, { "functions": [ "sendCreatorInvitationEmail" ], "keys": null, "path": "src/services/invitation/sendCreatorInvitationEmail.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/invitation/fetchInvitations.ts", "selectors": null }, { "functions": [ "generateInvitationCode" ], "keys": null, "path": "src/services/invitation/createInvitation.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": [ "useSendInvitationEmail" ], "keys": null, "path": "src/hooks/useSendInvitationEmail.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "InvitationStepperPage", "fetchInvitationAndStages", "handleInputChange", "handleFacebookInputChange", "handleCheckboxChange", "handleCheckboxFacebookChange", "handlePasswordChange", "goToNextStep", "handleContinueWelcome", "handleCompleteProfileSubmit", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/invitation/[invitation_code].tsx", "selectors": null } ]
662
[ { "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 'develop' of https://github.com/gmrdaniel/grm-meta into develop\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 \"rewrites\"\n ],\n \"path\": \"vercel.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\": [\n \"recommendations\"\n ],\n \"path\": \".vscode/extensions.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"Stepper\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/stepper.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"confirmDelete\",\n \"createInvitationLink\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\",\n \"handleSendEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"sendCreatorInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/sendCreatorInvitationEmail.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/fetchInvitations.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/createInvitation.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 \"useSendInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useSendInvitationEmail.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationStepperPage\",\n \"fetchInvitationAndStages\",\n \"handleInputChange\",\n \"handleFacebookInputChange\",\n \"handleCheckboxChange\",\n \"handleCheckboxFacebookChange\",\n \"handlePasswordChange\",\n \"goToNextStep\",\n \"handleContinueWelcome\",\n \"handleCompleteProfileSubmit\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/invitation/[invitation_code].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
Merge pull request #17 from gmrdaniel/develop Develop
{ "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": [ "rewrites" ], "path": "vercel.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": [ "recommendations" ], "path": ".vscode/extensions.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "Stepper" ], "keys": null, "path": "src/components/ui/stepper.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "confirmDelete", "createInvitationLink", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit", "handleSendEmail" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleCheckboxChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.ts", "selectors": null }, { "functions": [ "sendCreatorInvitationEmail" ], "keys": null, "path": "src/services/invitation/sendCreatorInvitationEmail.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/invitation/fetchInvitations.ts", "selectors": null }, { "functions": [ "generateInvitationCode" ], "keys": null, "path": "src/services/invitation/createInvitation.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": [ "useSendInvitationEmail" ], "keys": null, "path": "src/hooks/useSendInvitationEmail.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "InvitationStepperPage", "fetchInvitationAndStages", "handleInputChange", "handleFacebookInputChange", "handleCheckboxChange", "handleCheckboxFacebookChange", "handlePasswordChange", "goToNextStep", "handleContinueWelcome", "handleCompleteProfileSubmit", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/invitation/[invitation_code].tsx", "selectors": null } ]
663
[ { "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 #17 from gmrdaniel/develop\n\nDevelop\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 \"rewrites\"\n ],\n \"path\": \"vercel.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\": [\n \"recommendations\"\n ],\n \"path\": \".vscode/extensions.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"Stepper\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/stepper.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"confirmDelete\",\n \"createInvitationLink\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\",\n \"handleSendEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"sendCreatorInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/sendCreatorInvitationEmail.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/fetchInvitations.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/createInvitation.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 \"useSendInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useSendInvitationEmail.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationStepperPage\",\n \"fetchInvitationAndStages\",\n \"handleInputChange\",\n \"handleFacebookInputChange\",\n \"handleCheckboxChange\",\n \"handleCheckboxFacebookChange\",\n \"handlePasswordChange\",\n \"goToNextStep\",\n \"handleContinueWelcome\",\n \"handleCompleteProfileSubmit\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/invitation/[invitation_code].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
project and stages added to seeds
{ "changed": [ "src/integrations/supabase/client.ts", "supabase/config.toml" ], "created": [ ".snaplet/config.json", "supabase/seeds/00001_create_project.sql", "supabase/seeds/00002_create_project_stages.sql" ], "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": [ "rewrites" ], "path": "vercel.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": [ "recommendations" ], "path": ".vscode/extensions.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "Stepper" ], "keys": null, "path": "src/components/ui/stepper.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "confirmDelete", "createInvitationLink", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit", "handleSendEmail" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleCheckboxChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.ts", "selectors": null }, { "functions": [ "sendCreatorInvitationEmail" ], "keys": null, "path": "src/services/invitation/sendCreatorInvitationEmail.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/invitation/fetchInvitations.ts", "selectors": null }, { "functions": [ "generateInvitationCode" ], "keys": null, "path": "src/services/invitation/createInvitation.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": [ "useSendInvitationEmail" ], "keys": null, "path": "src/hooks/useSendInvitationEmail.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "InvitationStepperPage", "fetchInvitationAndStages", "handleInputChange", "handleFacebookInputChange", "handleCheckboxChange", "handleCheckboxFacebookChange", "handlePasswordChange", "goToNextStep", "handleContinueWelcome", "handleCompleteProfileSubmit", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/invitation/[invitation_code].tsx", "selectors": null } ]
664
[ { "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:**\nproject and stages added to seeds\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 \"rewrites\"\n ],\n \"path\": \"vercel.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\": [\n \"recommendations\"\n ],\n \"path\": \".vscode/extensions.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"Stepper\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/stepper.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"confirmDelete\",\n \"createInvitationLink\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\",\n \"handleSendEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"sendCreatorInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/sendCreatorInvitationEmail.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/fetchInvitations.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/createInvitation.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 \"useSendInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useSendInvitationEmail.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationStepperPage\",\n \"fetchInvitationAndStages\",\n \"handleInputChange\",\n \"handleFacebookInputChange\",\n \"handleCheckboxChange\",\n \"handleCheckboxFacebookChange\",\n \"handlePasswordChange\",\n \"goToNextStep\",\n \"handleContinueWelcome\",\n \"handleCompleteProfileSubmit\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/invitation/[invitation_code].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 \"supabase/config.toml\"\n ],\n \"created\": [\n \".snaplet/config.json\",\n \"supabase/seeds/00001_create_project.sql\",\n \"supabase/seeds/00002_create_project_stages.sql\"\n ],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
add resend
{ "changed": [ "supabase/config.toml" ], "created": [ "supabase/functions/resend/.npmrc", "supabase/functions/resend/deno.json", "supabase/functions/resend/index.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": [ "rewrites" ], "path": "vercel.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": [ "adapter" ], "path": ".snaplet/config.json", "selectors": null }, { "functions": null, "keys": [ "recommendations" ], "path": ".vscode/extensions.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "Stepper" ], "keys": null, "path": "src/components/ui/stepper.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "confirmDelete", "createInvitationLink", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit", "handleSendEmail" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleCheckboxChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.ts", "selectors": null }, { "functions": [ "sendCreatorInvitationEmail" ], "keys": null, "path": "src/services/invitation/sendCreatorInvitationEmail.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/invitation/fetchInvitations.ts", "selectors": null }, { "functions": [ "generateInvitationCode" ], "keys": null, "path": "src/services/invitation/createInvitation.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": [ "useSendInvitationEmail" ], "keys": null, "path": "src/hooks/useSendInvitationEmail.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "InvitationStepperPage", "fetchInvitationAndStages", "handleInputChange", "handleFacebookInputChange", "handleCheckboxChange", "handleCheckboxFacebookChange", "handlePasswordChange", "goToNextStep", "handleContinueWelcome", "handleCompleteProfileSubmit", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/invitation/[invitation_code].tsx", "selectors": null } ]
665
[ { "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 resend\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 \"rewrites\"\n ],\n \"path\": \"vercel.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\": [\n \"adapter\"\n ],\n \"path\": \".snaplet/config.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"recommendations\"\n ],\n \"path\": \".vscode/extensions.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"Stepper\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/stepper.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"confirmDelete\",\n \"createInvitationLink\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\",\n \"handleSendEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"sendCreatorInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/sendCreatorInvitationEmail.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/fetchInvitations.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/createInvitation.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 \"useSendInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useSendInvitationEmail.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationStepperPage\",\n \"fetchInvitationAndStages\",\n \"handleInputChange\",\n \"handleFacebookInputChange\",\n \"handleCheckboxChange\",\n \"handleCheckboxFacebookChange\",\n \"handlePasswordChange\",\n \"goToNextStep\",\n \"handleContinueWelcome\",\n \"handleCompleteProfileSubmit\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/invitation/[invitation_code].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 \"supabase/functions/resend/.npmrc\",\n \"supabase/functions/resend/deno.json\",\n \"supabase/functions/resend/index.ts\"\n ],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Update staging.yaml migrate edge functions from ci
{ "changed": [ ".github/workflows/staging.yaml" ], "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": [ "rewrites" ], "path": "vercel.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": [ "handler" ], "keys": null, "path": "supabase/functions/resend/index.ts", "selectors": null }, { "functions": null, "keys": [ "imports" ], "path": "supabase/functions/resend/deno.json", "selectors": null }, { "functions": null, "keys": [ "adapter" ], "path": ".snaplet/config.json", "selectors": null }, { "functions": null, "keys": [ "recommendations" ], "path": ".vscode/extensions.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "Stepper" ], "keys": null, "path": "src/components/ui/stepper.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "confirmDelete", "createInvitationLink", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit", "handleSendEmail" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleCheckboxChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.ts", "selectors": null }, { "functions": [ "sendCreatorInvitationEmail" ], "keys": null, "path": "src/services/invitation/sendCreatorInvitationEmail.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/invitation/fetchInvitations.ts", "selectors": null }, { "functions": [ "generateInvitationCode" ], "keys": null, "path": "src/services/invitation/createInvitation.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": [ "useSendInvitationEmail" ], "keys": null, "path": "src/hooks/useSendInvitationEmail.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "InvitationStepperPage", "fetchInvitationAndStages", "handleInputChange", "handleFacebookInputChange", "handleCheckboxChange", "handleCheckboxFacebookChange", "handlePasswordChange", "goToNextStep", "handleContinueWelcome", "handleCompleteProfileSubmit", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/invitation/[invitation_code].tsx", "selectors": null } ]
666
[ { "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 staging.yaml\n\nmigrate edge functions from ci\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 \"rewrites\"\n ],\n \"path\": \"vercel.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\": [\n \"handler\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/resend/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"imports\"\n ],\n \"path\": \"supabase/functions/resend/deno.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"adapter\"\n ],\n \"path\": \".snaplet/config.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"recommendations\"\n ],\n \"path\": \".vscode/extensions.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"Stepper\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/stepper.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"confirmDelete\",\n \"createInvitationLink\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\",\n \"handleSendEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"sendCreatorInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/sendCreatorInvitationEmail.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/fetchInvitations.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/createInvitation.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 \"useSendInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useSendInvitationEmail.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationStepperPage\",\n \"fetchInvitationAndStages\",\n \"handleInputChange\",\n \"handleFacebookInputChange\",\n \"handleCheckboxChange\",\n \"handleCheckboxFacebookChange\",\n \"handlePasswordChange\",\n \"goToNextStep\",\n \"handleContinueWelcome\",\n \"handleCompleteProfileSubmit\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/invitation/[invitation_code].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 \".github/workflows/staging.yaml\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Merge pull request #18 from gmrdaniel/migrate-edge-functions-ci Update staging.yaml
{ "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": [ "rewrites" ], "path": "vercel.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": [ "handler" ], "keys": null, "path": "supabase/functions/resend/index.ts", "selectors": null }, { "functions": null, "keys": [ "imports" ], "path": "supabase/functions/resend/deno.json", "selectors": null }, { "functions": null, "keys": [ "adapter" ], "path": ".snaplet/config.json", "selectors": null }, { "functions": null, "keys": [ "recommendations" ], "path": ".vscode/extensions.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "Stepper" ], "keys": null, "path": "src/components/ui/stepper.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "confirmDelete", "createInvitationLink", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit", "handleSendEmail" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleCheckboxChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.ts", "selectors": null }, { "functions": [ "sendCreatorInvitationEmail" ], "keys": null, "path": "src/services/invitation/sendCreatorInvitationEmail.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/invitation/fetchInvitations.ts", "selectors": null }, { "functions": [ "generateInvitationCode" ], "keys": null, "path": "src/services/invitation/createInvitation.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": [ "useSendInvitationEmail" ], "keys": null, "path": "src/hooks/useSendInvitationEmail.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "InvitationStepperPage", "fetchInvitationAndStages", "handleInputChange", "handleFacebookInputChange", "handleCheckboxChange", "handleCheckboxFacebookChange", "handlePasswordChange", "goToNextStep", "handleContinueWelcome", "handleCompleteProfileSubmit", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/invitation/[invitation_code].tsx", "selectors": null } ]
667
[ { "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 #18 from gmrdaniel/migrate-edge-functions-ci\n\nUpdate staging.yaml\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 \"rewrites\"\n ],\n \"path\": \"vercel.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\": [\n \"handler\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/resend/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"imports\"\n ],\n \"path\": \"supabase/functions/resend/deno.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"adapter\"\n ],\n \"path\": \".snaplet/config.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"recommendations\"\n ],\n \"path\": \".vscode/extensions.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"Stepper\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/stepper.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"confirmDelete\",\n \"createInvitationLink\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\",\n \"handleSendEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"sendCreatorInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/sendCreatorInvitationEmail.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/fetchInvitations.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/createInvitation.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 \"useSendInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useSendInvitationEmail.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationStepperPage\",\n \"fetchInvitationAndStages\",\n \"handleInputChange\",\n \"handleFacebookInputChange\",\n \"handleCheckboxChange\",\n \"handleCheckboxFacebookChange\",\n \"handlePasswordChange\",\n \"goToNextStep\",\n \"handleContinueWelcome\",\n \"handleCompleteProfileSubmit\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/invitation/[invitation_code].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
edge function updated
{ "changed": [ "src/services/email/sendIEmail.ts", "supabase/functions/resend/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": [ "rewrites" ], "path": "vercel.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": [ "handler" ], "keys": null, "path": "supabase/functions/resend/index.ts", "selectors": null }, { "functions": null, "keys": [ "imports" ], "path": "supabase/functions/resend/deno.json", "selectors": null }, { "functions": null, "keys": [ "adapter" ], "path": ".snaplet/config.json", "selectors": null }, { "functions": null, "keys": [ "recommendations" ], "path": ".vscode/extensions.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "Stepper" ], "keys": null, "path": "src/components/ui/stepper.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "confirmDelete", "createInvitationLink", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit", "handleSendEmail" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleCheckboxChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.ts", "selectors": null }, { "functions": [ "sendCreatorInvitationEmail" ], "keys": null, "path": "src/services/invitation/sendCreatorInvitationEmail.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/invitation/fetchInvitations.ts", "selectors": null }, { "functions": [ "generateInvitationCode" ], "keys": null, "path": "src/services/invitation/createInvitation.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": [ "useSendInvitationEmail" ], "keys": null, "path": "src/hooks/useSendInvitationEmail.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "InvitationStepperPage", "fetchInvitationAndStages", "handleInputChange", "handleFacebookInputChange", "handleCheckboxChange", "handleCheckboxFacebookChange", "handlePasswordChange", "goToNextStep", "handleContinueWelcome", "handleCompleteProfileSubmit", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/invitation/[invitation_code].tsx", "selectors": null } ]
668
[ { "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:**\nedge function updated\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 \"rewrites\"\n ],\n \"path\": \"vercel.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\": [\n \"handler\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/resend/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"imports\"\n ],\n \"path\": \"supabase/functions/resend/deno.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"adapter\"\n ],\n \"path\": \".snaplet/config.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"recommendations\"\n ],\n \"path\": \".vscode/extensions.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"Stepper\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/stepper.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"confirmDelete\",\n \"createInvitationLink\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\",\n \"handleSendEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"sendCreatorInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/sendCreatorInvitationEmail.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/fetchInvitations.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/createInvitation.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 \"useSendInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useSendInvitationEmail.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationStepperPage\",\n \"fetchInvitationAndStages\",\n \"handleInputChange\",\n \"handleFacebookInputChange\",\n \"handleCheckboxChange\",\n \"handleCheckboxFacebookChange\",\n \"handlePasswordChange\",\n \"goToNextStep\",\n \"handleContinueWelcome\",\n \"handleCompleteProfileSubmit\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/invitation/[invitation_code].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/services/email/sendIEmail.ts\",\n \"supabase/functions/resend/index.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Merge branch 'develop' of https://github.com/gmrdaniel/grm-meta into develop
{ "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": [ "rewrites" ], "path": "vercel.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": [ "handler" ], "keys": null, "path": "supabase/functions/resend/index.ts", "selectors": null }, { "functions": null, "keys": [ "imports" ], "path": "supabase/functions/resend/deno.json", "selectors": null }, { "functions": null, "keys": [ "adapter" ], "path": ".snaplet/config.json", "selectors": null }, { "functions": null, "keys": [ "recommendations" ], "path": ".vscode/extensions.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "Stepper" ], "keys": null, "path": "src/components/ui/stepper.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "confirmDelete", "createInvitationLink", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit", "handleSendEmail" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleCheckboxChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.ts", "selectors": null }, { "functions": [ "sendCreatorInvitationEmail" ], "keys": null, "path": "src/services/invitation/sendCreatorInvitationEmail.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/invitation/fetchInvitations.ts", "selectors": null }, { "functions": [ "generateInvitationCode" ], "keys": null, "path": "src/services/invitation/createInvitation.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": [ "useSendInvitationEmail" ], "keys": null, "path": "src/hooks/useSendInvitationEmail.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "InvitationStepperPage", "fetchInvitationAndStages", "handleInputChange", "handleFacebookInputChange", "handleCheckboxChange", "handleCheckboxFacebookChange", "handlePasswordChange", "goToNextStep", "handleContinueWelcome", "handleCompleteProfileSubmit", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/invitation/[invitation_code].tsx", "selectors": null } ]
669
[ { "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 'develop' of https://github.com/gmrdaniel/grm-meta into develop\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 \"rewrites\"\n ],\n \"path\": \"vercel.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\": [\n \"handler\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/resend/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"imports\"\n ],\n \"path\": \"supabase/functions/resend/deno.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"adapter\"\n ],\n \"path\": \".snaplet/config.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"recommendations\"\n ],\n \"path\": \".vscode/extensions.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"Stepper\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/stepper.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"confirmDelete\",\n \"createInvitationLink\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\",\n \"handleSendEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"sendCreatorInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/sendCreatorInvitationEmail.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/fetchInvitations.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/createInvitation.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 \"useSendInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useSendInvitationEmail.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationStepperPage\",\n \"fetchInvitationAndStages\",\n \"handleInputChange\",\n \"handleFacebookInputChange\",\n \"handleCheckboxChange\",\n \"handleCheckboxFacebookChange\",\n \"handlePasswordChange\",\n \"goToNextStep\",\n \"handleContinueWelcome\",\n \"handleCompleteProfileSubmit\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/invitation/[invitation_code].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
update production.yaml
{ "changed": [ ".github/workflows/production.yaml", "src/services/email/sendIEmail.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": [ "rewrites" ], "path": "vercel.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": [ "handler" ], "keys": null, "path": "supabase/functions/resend/index.ts", "selectors": null }, { "functions": null, "keys": [ "imports" ], "path": "supabase/functions/resend/deno.json", "selectors": null }, { "functions": null, "keys": [ "adapter" ], "path": ".snaplet/config.json", "selectors": null }, { "functions": null, "keys": [ "recommendations" ], "path": ".vscode/extensions.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "Stepper" ], "keys": null, "path": "src/components/ui/stepper.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "confirmDelete", "createInvitationLink", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit", "handleSendEmail" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleCheckboxChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.ts", "selectors": null }, { "functions": [ "sendCreatorInvitationEmail" ], "keys": null, "path": "src/services/invitation/sendCreatorInvitationEmail.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/invitation/fetchInvitations.ts", "selectors": null }, { "functions": [ "generateInvitationCode" ], "keys": null, "path": "src/services/invitation/createInvitation.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": [ "useSendInvitationEmail" ], "keys": null, "path": "src/hooks/useSendInvitationEmail.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "InvitationStepperPage", "fetchInvitationAndStages", "handleInputChange", "handleFacebookInputChange", "handleCheckboxChange", "handleCheckboxFacebookChange", "handlePasswordChange", "goToNextStep", "handleContinueWelcome", "handleCompleteProfileSubmit", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/invitation/[invitation_code].tsx", "selectors": null } ]
670
[ { "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 production.yaml\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 \"rewrites\"\n ],\n \"path\": \"vercel.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\": [\n \"handler\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/resend/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"imports\"\n ],\n \"path\": \"supabase/functions/resend/deno.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"adapter\"\n ],\n \"path\": \".snaplet/config.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"recommendations\"\n ],\n \"path\": \".vscode/extensions.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"Stepper\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/stepper.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"confirmDelete\",\n \"createInvitationLink\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\",\n \"handleSendEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"sendCreatorInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/sendCreatorInvitationEmail.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/fetchInvitations.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/createInvitation.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 \"useSendInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useSendInvitationEmail.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationStepperPage\",\n \"fetchInvitationAndStages\",\n \"handleInputChange\",\n \"handleFacebookInputChange\",\n \"handleCheckboxChange\",\n \"handleCheckboxFacebookChange\",\n \"handlePasswordChange\",\n \"goToNextStep\",\n \"handleContinueWelcome\",\n \"handleCompleteProfileSubmit\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/invitation/[invitation_code].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 \".github/workflows/production.yaml\",\n \"src/services/email/sendIEmail.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
add phone verification edge function
{ "changed": [ "supabase/config.toml" ], "created": [ "supabase/functions/phone-verification/.npmrc", "supabase/functions/phone-verification/deno.json", "supabase/functions/phone-verification/index.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": [ "rewrites" ], "path": "vercel.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": [ "handler" ], "keys": null, "path": "supabase/functions/resend/index.ts", "selectors": null }, { "functions": null, "keys": [ "imports" ], "path": "supabase/functions/resend/deno.json", "selectors": null }, { "functions": null, "keys": [ "adapter" ], "path": ".snaplet/config.json", "selectors": null }, { "functions": null, "keys": [ "recommendations" ], "path": ".vscode/extensions.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "Stepper" ], "keys": null, "path": "src/components/ui/stepper.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "confirmDelete", "createInvitationLink", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit", "handleSendEmail" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleCheckboxChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.ts", "selectors": null }, { "functions": [ "sendCreatorInvitationEmail" ], "keys": null, "path": "src/services/invitation/sendCreatorInvitationEmail.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/invitation/fetchInvitations.ts", "selectors": null }, { "functions": [ "generateInvitationCode" ], "keys": null, "path": "src/services/invitation/createInvitation.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": [ "useSendInvitationEmail" ], "keys": null, "path": "src/hooks/useSendInvitationEmail.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "InvitationStepperPage", "fetchInvitationAndStages", "handleInputChange", "handleFacebookInputChange", "handleCheckboxChange", "handleCheckboxFacebookChange", "handlePasswordChange", "goToNextStep", "handleContinueWelcome", "handleCompleteProfileSubmit", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/invitation/[invitation_code].tsx", "selectors": null } ]
671
[ { "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 phone verification edge function\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 \"rewrites\"\n ],\n \"path\": \"vercel.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\": [\n \"handler\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/resend/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"imports\"\n ],\n \"path\": \"supabase/functions/resend/deno.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"adapter\"\n ],\n \"path\": \".snaplet/config.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"recommendations\"\n ],\n \"path\": \".vscode/extensions.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"Stepper\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/stepper.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"confirmDelete\",\n \"createInvitationLink\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\",\n \"handleSendEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"sendCreatorInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/sendCreatorInvitationEmail.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/fetchInvitations.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/createInvitation.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 \"useSendInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useSendInvitationEmail.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationStepperPage\",\n \"fetchInvitationAndStages\",\n \"handleInputChange\",\n \"handleFacebookInputChange\",\n \"handleCheckboxChange\",\n \"handleCheckboxFacebookChange\",\n \"handlePasswordChange\",\n \"goToNextStep\",\n \"handleContinueWelcome\",\n \"handleCompleteProfileSubmit\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/invitation/[invitation_code].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 \"supabase/functions/phone-verification/.npmrc\",\n \"supabase/functions/phone-verification/deno.json\",\n \"supabase/functions/phone-verification/index.ts\"\n ],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
solve issue related to email sending
{ "changed": [ "supabase/functions/resend/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": [ "rewrites" ], "path": "vercel.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": [ "imports" ], "path": "supabase/functions/phone-verification/deno.json", "selectors": null }, { "functions": [ "handler" ], "keys": null, "path": "supabase/functions/resend/index.ts", "selectors": null }, { "functions": null, "keys": [ "imports" ], "path": "supabase/functions/resend/deno.json", "selectors": null }, { "functions": null, "keys": [ "adapter" ], "path": ".snaplet/config.json", "selectors": null }, { "functions": null, "keys": [ "recommendations" ], "path": ".vscode/extensions.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "Stepper" ], "keys": null, "path": "src/components/ui/stepper.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "confirmDelete", "createInvitationLink", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit", "handleSendEmail" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleCheckboxChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.ts", "selectors": null }, { "functions": [ "sendCreatorInvitationEmail" ], "keys": null, "path": "src/services/invitation/sendCreatorInvitationEmail.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/invitation/fetchInvitations.ts", "selectors": null }, { "functions": [ "generateInvitationCode" ], "keys": null, "path": "src/services/invitation/createInvitation.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": [ "useSendInvitationEmail" ], "keys": null, "path": "src/hooks/useSendInvitationEmail.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "InvitationStepperPage", "fetchInvitationAndStages", "handleInputChange", "handleFacebookInputChange", "handleCheckboxChange", "handleCheckboxFacebookChange", "handlePasswordChange", "goToNextStep", "handleContinueWelcome", "handleCompleteProfileSubmit", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/invitation/[invitation_code].tsx", "selectors": null } ]
672
[ { "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:**\nsolve issue related to email sending\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 \"rewrites\"\n ],\n \"path\": \"vercel.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\": [\n \"imports\"\n ],\n \"path\": \"supabase/functions/phone-verification/deno.json\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handler\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/resend/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"imports\"\n ],\n \"path\": \"supabase/functions/resend/deno.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"adapter\"\n ],\n \"path\": \".snaplet/config.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"recommendations\"\n ],\n \"path\": \".vscode/extensions.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"Stepper\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/stepper.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"confirmDelete\",\n \"createInvitationLink\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\",\n \"handleSendEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"sendCreatorInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/sendCreatorInvitationEmail.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/fetchInvitations.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/createInvitation.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 \"useSendInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useSendInvitationEmail.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationStepperPage\",\n \"fetchInvitationAndStages\",\n \"handleInputChange\",\n \"handleFacebookInputChange\",\n \"handleCheckboxChange\",\n \"handleCheckboxFacebookChange\",\n \"handlePasswordChange\",\n \"goToNextStep\",\n \"handleContinueWelcome\",\n \"handleCompleteProfileSubmit\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/invitation/[invitation_code].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/resend/index.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Merge pull request #19 from gmrdaniel/hotfix/resend-edge-function solve issue related to email sending
{ "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": [ "rewrites" ], "path": "vercel.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": [ "imports" ], "path": "supabase/functions/phone-verification/deno.json", "selectors": null }, { "functions": [ "handler" ], "keys": null, "path": "supabase/functions/resend/index.ts", "selectors": null }, { "functions": null, "keys": [ "imports" ], "path": "supabase/functions/resend/deno.json", "selectors": null }, { "functions": null, "keys": [ "adapter" ], "path": ".snaplet/config.json", "selectors": null }, { "functions": null, "keys": [ "recommendations" ], "path": ".vscode/extensions.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "Stepper" ], "keys": null, "path": "src/components/ui/stepper.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "confirmDelete", "createInvitationLink", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit", "handleSendEmail" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleCheckboxChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.ts", "selectors": null }, { "functions": [ "sendCreatorInvitationEmail" ], "keys": null, "path": "src/services/invitation/sendCreatorInvitationEmail.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/invitation/fetchInvitations.ts", "selectors": null }, { "functions": [ "generateInvitationCode" ], "keys": null, "path": "src/services/invitation/createInvitation.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": [ "useSendInvitationEmail" ], "keys": null, "path": "src/hooks/useSendInvitationEmail.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "InvitationStepperPage", "fetchInvitationAndStages", "handleInputChange", "handleFacebookInputChange", "handleCheckboxChange", "handleCheckboxFacebookChange", "handlePasswordChange", "goToNextStep", "handleContinueWelcome", "handleCompleteProfileSubmit", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/invitation/[invitation_code].tsx", "selectors": null } ]
673
[ { "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 #19 from gmrdaniel/hotfix/resend-edge-function\n\nsolve issue related to email sending\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 \"rewrites\"\n ],\n \"path\": \"vercel.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\": [\n \"imports\"\n ],\n \"path\": \"supabase/functions/phone-verification/deno.json\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handler\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/resend/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"imports\"\n ],\n \"path\": \"supabase/functions/resend/deno.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"adapter\"\n ],\n \"path\": \".snaplet/config.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"recommendations\"\n ],\n \"path\": \".vscode/extensions.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"Stepper\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/stepper.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"confirmDelete\",\n \"createInvitationLink\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\",\n \"handleSendEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"sendCreatorInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/sendCreatorInvitationEmail.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/fetchInvitations.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/createInvitation.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 \"useSendInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useSendInvitationEmail.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationStepperPage\",\n \"fetchInvitationAndStages\",\n \"handleInputChange\",\n \"handleFacebookInputChange\",\n \"handleCheckboxChange\",\n \"handleCheckboxFacebookChange\",\n \"handlePasswordChange\",\n \"goToNextStep\",\n \"handleContinueWelcome\",\n \"handleCompleteProfileSubmit\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/invitation/[invitation_code].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
fix phone-verification to allow cor
{ "changed": [ "supabase/functions/phone-verification/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": [ "rewrites" ], "path": "vercel.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": [ "imports" ], "path": "supabase/functions/phone-verification/deno.json", "selectors": null }, { "functions": [ "handler" ], "keys": null, "path": "supabase/functions/resend/index.ts", "selectors": null }, { "functions": null, "keys": [ "imports" ], "path": "supabase/functions/resend/deno.json", "selectors": null }, { "functions": null, "keys": [ "adapter" ], "path": ".snaplet/config.json", "selectors": null }, { "functions": null, "keys": [ "recommendations" ], "path": ".vscode/extensions.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "Stepper" ], "keys": null, "path": "src/components/ui/stepper.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "confirmDelete", "createInvitationLink", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit", "handleSendEmail" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleCheckboxChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.ts", "selectors": null }, { "functions": [ "sendCreatorInvitationEmail" ], "keys": null, "path": "src/services/invitation/sendCreatorInvitationEmail.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/invitation/fetchInvitations.ts", "selectors": null }, { "functions": [ "generateInvitationCode" ], "keys": null, "path": "src/services/invitation/createInvitation.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": [ "useSendInvitationEmail" ], "keys": null, "path": "src/hooks/useSendInvitationEmail.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "InvitationStepperPage", "fetchInvitationAndStages", "handleInputChange", "handleFacebookInputChange", "handleCheckboxChange", "handleCheckboxFacebookChange", "handlePasswordChange", "goToNextStep", "handleContinueWelcome", "handleCompleteProfileSubmit", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/invitation/[invitation_code].tsx", "selectors": null } ]
674
[ { "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 phone-verification to allow cor\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 \"rewrites\"\n ],\n \"path\": \"vercel.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\": [\n \"imports\"\n ],\n \"path\": \"supabase/functions/phone-verification/deno.json\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handler\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/resend/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"imports\"\n ],\n \"path\": \"supabase/functions/resend/deno.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"adapter\"\n ],\n \"path\": \".snaplet/config.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"recommendations\"\n ],\n \"path\": \".vscode/extensions.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"Stepper\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/stepper.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"confirmDelete\",\n \"createInvitationLink\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\",\n \"handleSendEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"sendCreatorInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/sendCreatorInvitationEmail.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/fetchInvitations.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/createInvitation.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 \"useSendInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useSendInvitationEmail.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationStepperPage\",\n \"fetchInvitationAndStages\",\n \"handleInputChange\",\n \"handleFacebookInputChange\",\n \"handleCheckboxChange\",\n \"handleCheckboxFacebookChange\",\n \"handlePasswordChange\",\n \"goToNextStep\",\n \"handleContinueWelcome\",\n \"handleCompleteProfileSubmit\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/invitation/[invitation_code].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/phone-verification/index.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Merge pull request #20 from gmrdaniel/fix/phone-verification fix phone-verification to allow cors
{ "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": [ "rewrites" ], "path": "vercel.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": [ "imports" ], "path": "supabase/functions/phone-verification/deno.json", "selectors": null }, { "functions": [ "handler" ], "keys": null, "path": "supabase/functions/resend/index.ts", "selectors": null }, { "functions": null, "keys": [ "imports" ], "path": "supabase/functions/resend/deno.json", "selectors": null }, { "functions": null, "keys": [ "adapter" ], "path": ".snaplet/config.json", "selectors": null }, { "functions": null, "keys": [ "recommendations" ], "path": ".vscode/extensions.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "Stepper" ], "keys": null, "path": "src/components/ui/stepper.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "confirmDelete", "createInvitationLink", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit", "handleSendEmail" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleCheckboxChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.ts", "selectors": null }, { "functions": [ "sendCreatorInvitationEmail" ], "keys": null, "path": "src/services/invitation/sendCreatorInvitationEmail.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/invitation/fetchInvitations.ts", "selectors": null }, { "functions": [ "generateInvitationCode" ], "keys": null, "path": "src/services/invitation/createInvitation.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": [ "useSendInvitationEmail" ], "keys": null, "path": "src/hooks/useSendInvitationEmail.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "InvitationStepperPage", "fetchInvitationAndStages", "handleInputChange", "handleFacebookInputChange", "handleCheckboxChange", "handleCheckboxFacebookChange", "handlePasswordChange", "goToNextStep", "handleContinueWelcome", "handleCompleteProfileSubmit", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/invitation/[invitation_code].tsx", "selectors": null } ]
675
[ { "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 #20 from gmrdaniel/fix/phone-verification\n\nfix phone-verification to allow cors\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 \"rewrites\"\n ],\n \"path\": \"vercel.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\": [\n \"imports\"\n ],\n \"path\": \"supabase/functions/phone-verification/deno.json\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handler\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/resend/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"imports\"\n ],\n \"path\": \"supabase/functions/resend/deno.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"adapter\"\n ],\n \"path\": \".snaplet/config.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"recommendations\"\n ],\n \"path\": \".vscode/extensions.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"Stepper\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/stepper.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"confirmDelete\",\n \"createInvitationLink\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\",\n \"handleSendEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"sendCreatorInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/sendCreatorInvitationEmail.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/fetchInvitations.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/createInvitation.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 \"useSendInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useSendInvitationEmail.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationStepperPage\",\n \"fetchInvitationAndStages\",\n \"handleInputChange\",\n \"handleFacebookInputChange\",\n \"handleCheckboxChange\",\n \"handleCheckboxFacebookChange\",\n \"handlePasswordChange\",\n \"goToNextStep\",\n \"handleContinueWelcome\",\n \"handleCompleteProfileSubmit\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/invitation/[invitation_code].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
fix phone-verification to allow cor
{ "changed": [ "supabase/functions/phone-verification/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": [ "rewrites" ], "path": "vercel.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": [ "imports" ], "path": "supabase/functions/phone-verification/deno.json", "selectors": null }, { "functions": [ "handler" ], "keys": null, "path": "supabase/functions/resend/index.ts", "selectors": null }, { "functions": null, "keys": [ "imports" ], "path": "supabase/functions/resend/deno.json", "selectors": null }, { "functions": null, "keys": [ "adapter" ], "path": ".snaplet/config.json", "selectors": null }, { "functions": null, "keys": [ "recommendations" ], "path": ".vscode/extensions.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "Stepper" ], "keys": null, "path": "src/components/ui/stepper.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "confirmDelete", "createInvitationLink", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit", "handleSendEmail" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleCheckboxChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.ts", "selectors": null }, { "functions": [ "sendCreatorInvitationEmail" ], "keys": null, "path": "src/services/invitation/sendCreatorInvitationEmail.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/invitation/fetchInvitations.ts", "selectors": null }, { "functions": [ "generateInvitationCode" ], "keys": null, "path": "src/services/invitation/createInvitation.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": [ "useSendInvitationEmail" ], "keys": null, "path": "src/hooks/useSendInvitationEmail.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "InvitationStepperPage", "fetchInvitationAndStages", "handleInputChange", "handleFacebookInputChange", "handleCheckboxChange", "handleCheckboxFacebookChange", "handlePasswordChange", "goToNextStep", "handleContinueWelcome", "handleCompleteProfileSubmit", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/invitation/[invitation_code].tsx", "selectors": null } ]
676
[ { "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 phone-verification to allow cor\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 \"rewrites\"\n ],\n \"path\": \"vercel.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\": [\n \"imports\"\n ],\n \"path\": \"supabase/functions/phone-verification/deno.json\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handler\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/resend/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"imports\"\n ],\n \"path\": \"supabase/functions/resend/deno.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"adapter\"\n ],\n \"path\": \".snaplet/config.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"recommendations\"\n ],\n \"path\": \".vscode/extensions.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"Stepper\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/stepper.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"confirmDelete\",\n \"createInvitationLink\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\",\n \"handleSendEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"sendCreatorInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/sendCreatorInvitationEmail.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/fetchInvitations.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/createInvitation.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 \"useSendInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useSendInvitationEmail.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationStepperPage\",\n \"fetchInvitationAndStages\",\n \"handleInputChange\",\n \"handleFacebookInputChange\",\n \"handleCheckboxChange\",\n \"handleCheckboxFacebookChange\",\n \"handlePasswordChange\",\n \"goToNextStep\",\n \"handleContinueWelcome\",\n \"handleCompleteProfileSubmit\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/invitation/[invitation_code].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/phone-verification/index.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Merge pull request #21 from gmrdaniel/fix/phone-verification Fix/phone verification
{ "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": [ "rewrites" ], "path": "vercel.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": [ "imports" ], "path": "supabase/functions/phone-verification/deno.json", "selectors": null }, { "functions": [ "handler" ], "keys": null, "path": "supabase/functions/resend/index.ts", "selectors": null }, { "functions": null, "keys": [ "imports" ], "path": "supabase/functions/resend/deno.json", "selectors": null }, { "functions": null, "keys": [ "adapter" ], "path": ".snaplet/config.json", "selectors": null }, { "functions": null, "keys": [ "recommendations" ], "path": ".vscode/extensions.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "Stepper" ], "keys": null, "path": "src/components/ui/stepper.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "confirmDelete", "createInvitationLink", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit", "handleSendEmail" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleCheckboxChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.ts", "selectors": null }, { "functions": [ "sendCreatorInvitationEmail" ], "keys": null, "path": "src/services/invitation/sendCreatorInvitationEmail.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/invitation/fetchInvitations.ts", "selectors": null }, { "functions": [ "generateInvitationCode" ], "keys": null, "path": "src/services/invitation/createInvitation.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": [ "useSendInvitationEmail" ], "keys": null, "path": "src/hooks/useSendInvitationEmail.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "InvitationStepperPage", "fetchInvitationAndStages", "handleInputChange", "handleFacebookInputChange", "handleCheckboxChange", "handleCheckboxFacebookChange", "handlePasswordChange", "goToNextStep", "handleContinueWelcome", "handleCompleteProfileSubmit", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/invitation/[invitation_code].tsx", "selectors": null } ]
677
[ { "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 #21 from gmrdaniel/fix/phone-verification\n\nFix/phone verification\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 \"rewrites\"\n ],\n \"path\": \"vercel.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\": [\n \"imports\"\n ],\n \"path\": \"supabase/functions/phone-verification/deno.json\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handler\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/resend/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"imports\"\n ],\n \"path\": \"supabase/functions/resend/deno.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"adapter\"\n ],\n \"path\": \".snaplet/config.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"recommendations\"\n ],\n \"path\": \".vscode/extensions.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"Stepper\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/stepper.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"confirmDelete\",\n \"createInvitationLink\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\",\n \"handleSendEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"sendCreatorInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/sendCreatorInvitationEmail.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/fetchInvitations.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/createInvitation.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 \"useSendInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useSendInvitationEmail.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationStepperPage\",\n \"fetchInvitationAndStages\",\n \"handleInputChange\",\n \"handleFacebookInputChange\",\n \"handleCheckboxChange\",\n \"handleCheckboxFacebookChange\",\n \"handlePasswordChange\",\n \"goToNextStep\",\n \"handleContinueWelcome\",\n \"handleCompleteProfileSubmit\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/invitation/[invitation_code].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
Merge pull request #22 from gmrdaniel/fix/phone-verification fix phone-verification to allow cor
{ "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": [ "rewrites" ], "path": "vercel.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": [ "imports" ], "path": "supabase/functions/phone-verification/deno.json", "selectors": null }, { "functions": [ "handler" ], "keys": null, "path": "supabase/functions/resend/index.ts", "selectors": null }, { "functions": null, "keys": [ "imports" ], "path": "supabase/functions/resend/deno.json", "selectors": null }, { "functions": null, "keys": [ "adapter" ], "path": ".snaplet/config.json", "selectors": null }, { "functions": null, "keys": [ "recommendations" ], "path": ".vscode/extensions.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "Stepper" ], "keys": null, "path": "src/components/ui/stepper.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "confirmDelete", "createInvitationLink", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit", "handleSendEmail" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleCheckboxChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.ts", "selectors": null }, { "functions": [ "sendCreatorInvitationEmail" ], "keys": null, "path": "src/services/invitation/sendCreatorInvitationEmail.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/invitation/fetchInvitations.ts", "selectors": null }, { "functions": [ "generateInvitationCode" ], "keys": null, "path": "src/services/invitation/createInvitation.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": [ "useSendInvitationEmail" ], "keys": null, "path": "src/hooks/useSendInvitationEmail.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "InvitationStepperPage", "fetchInvitationAndStages", "handleInputChange", "handleFacebookInputChange", "handleCheckboxChange", "handleCheckboxFacebookChange", "handlePasswordChange", "goToNextStep", "handleContinueWelcome", "handleCompleteProfileSubmit", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/invitation/[invitation_code].tsx", "selectors": null } ]
678
[ { "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 #22 from gmrdaniel/fix/phone-verification\n\nfix phone-verification to allow cor\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 \"rewrites\"\n ],\n \"path\": \"vercel.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\": [\n \"imports\"\n ],\n \"path\": \"supabase/functions/phone-verification/deno.json\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handler\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/resend/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"imports\"\n ],\n \"path\": \"supabase/functions/resend/deno.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"adapter\"\n ],\n \"path\": \".snaplet/config.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"recommendations\"\n ],\n \"path\": \".vscode/extensions.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"Stepper\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/stepper.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"confirmDelete\",\n \"createInvitationLink\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\",\n \"handleSendEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"sendCreatorInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/sendCreatorInvitationEmail.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/fetchInvitations.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/createInvitation.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 \"useSendInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useSendInvitationEmail.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationStepperPage\",\n \"fetchInvitationAndStages\",\n \"handleInputChange\",\n \"handleFacebookInputChange\",\n \"handleCheckboxChange\",\n \"handleCheckboxFacebookChange\",\n \"handlePasswordChange\",\n \"goToNextStep\",\n \"handleContinueWelcome\",\n \"handleCompleteProfileSubmit\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/invitation/[invitation_code].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
fix phone-verification to allow cor
{ "changed": [ "supabase/functions/phone-verification/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": [ "rewrites" ], "path": "vercel.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": [ "imports" ], "path": "supabase/functions/phone-verification/deno.json", "selectors": null }, { "functions": [ "handler" ], "keys": null, "path": "supabase/functions/resend/index.ts", "selectors": null }, { "functions": null, "keys": [ "imports" ], "path": "supabase/functions/resend/deno.json", "selectors": null }, { "functions": null, "keys": [ "adapter" ], "path": ".snaplet/config.json", "selectors": null }, { "functions": null, "keys": [ "recommendations" ], "path": ".vscode/extensions.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "Stepper" ], "keys": null, "path": "src/components/ui/stepper.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "confirmDelete", "createInvitationLink", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit", "handleSendEmail" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleCheckboxChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.ts", "selectors": null }, { "functions": [ "sendCreatorInvitationEmail" ], "keys": null, "path": "src/services/invitation/sendCreatorInvitationEmail.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/invitation/fetchInvitations.ts", "selectors": null }, { "functions": [ "generateInvitationCode" ], "keys": null, "path": "src/services/invitation/createInvitation.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": [ "useSendInvitationEmail" ], "keys": null, "path": "src/hooks/useSendInvitationEmail.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "InvitationStepperPage", "fetchInvitationAndStages", "handleInputChange", "handleFacebookInputChange", "handleCheckboxChange", "handleCheckboxFacebookChange", "handlePasswordChange", "goToNextStep", "handleContinueWelcome", "handleCompleteProfileSubmit", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/invitation/[invitation_code].tsx", "selectors": null } ]
679
[ { "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 phone-verification to allow cor\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 \"rewrites\"\n ],\n \"path\": \"vercel.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\": [\n \"imports\"\n ],\n \"path\": \"supabase/functions/phone-verification/deno.json\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handler\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/resend/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"imports\"\n ],\n \"path\": \"supabase/functions/resend/deno.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"adapter\"\n ],\n \"path\": \".snaplet/config.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"recommendations\"\n ],\n \"path\": \".vscode/extensions.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"Stepper\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/stepper.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"confirmDelete\",\n \"createInvitationLink\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\",\n \"handleSendEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"sendCreatorInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/sendCreatorInvitationEmail.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/fetchInvitations.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/createInvitation.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 \"useSendInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useSendInvitationEmail.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationStepperPage\",\n \"fetchInvitationAndStages\",\n \"handleInputChange\",\n \"handleFacebookInputChange\",\n \"handleCheckboxChange\",\n \"handleCheckboxFacebookChange\",\n \"handlePasswordChange\",\n \"goToNextStep\",\n \"handleContinueWelcome\",\n \"handleCompleteProfileSubmit\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/invitation/[invitation_code].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/phone-verification/index.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Merge pull request #24 from gmrdaniel/fix/phone-verification fix phone-verification to allow cor
{ "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": [ "rewrites" ], "path": "vercel.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": [ "imports" ], "path": "supabase/functions/phone-verification/deno.json", "selectors": null }, { "functions": [ "handler" ], "keys": null, "path": "supabase/functions/resend/index.ts", "selectors": null }, { "functions": null, "keys": [ "imports" ], "path": "supabase/functions/resend/deno.json", "selectors": null }, { "functions": null, "keys": [ "adapter" ], "path": ".snaplet/config.json", "selectors": null }, { "functions": null, "keys": [ "recommendations" ], "path": ".vscode/extensions.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "Stepper" ], "keys": null, "path": "src/components/ui/stepper.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "confirmDelete", "createInvitationLink", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit", "handleSendEmail" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleCheckboxChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.ts", "selectors": null }, { "functions": [ "sendCreatorInvitationEmail" ], "keys": null, "path": "src/services/invitation/sendCreatorInvitationEmail.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/invitation/fetchInvitations.ts", "selectors": null }, { "functions": [ "generateInvitationCode" ], "keys": null, "path": "src/services/invitation/createInvitation.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": [ "useSendInvitationEmail" ], "keys": null, "path": "src/hooks/useSendInvitationEmail.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "InvitationStepperPage", "fetchInvitationAndStages", "handleInputChange", "handleFacebookInputChange", "handleCheckboxChange", "handleCheckboxFacebookChange", "handlePasswordChange", "goToNextStep", "handleContinueWelcome", "handleCompleteProfileSubmit", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/invitation/[invitation_code].tsx", "selectors": null } ]
680
[ { "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 #24 from gmrdaniel/fix/phone-verification\n\nfix phone-verification to allow cor\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 \"rewrites\"\n ],\n \"path\": \"vercel.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\": [\n \"imports\"\n ],\n \"path\": \"supabase/functions/phone-verification/deno.json\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handler\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/resend/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"imports\"\n ],\n \"path\": \"supabase/functions/resend/deno.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"adapter\"\n ],\n \"path\": \".snaplet/config.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"recommendations\"\n ],\n \"path\": \".vscode/extensions.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"Stepper\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/stepper.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"confirmDelete\",\n \"createInvitationLink\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\",\n \"handleSendEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"sendCreatorInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/sendCreatorInvitationEmail.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/fetchInvitations.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/createInvitation.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 \"useSendInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useSendInvitationEmail.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationStepperPage\",\n \"fetchInvitationAndStages\",\n \"handleInputChange\",\n \"handleFacebookInputChange\",\n \"handleCheckboxChange\",\n \"handleCheckboxFacebookChange\",\n \"handlePasswordChange\",\n \"goToNextStep\",\n \"handleContinueWelcome\",\n \"handleCompleteProfileSubmit\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/invitation/[invitation_code].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
fix phone-verification invoke
{ "changed": [ "src/components/invitation/CompleteProfileForm.tsx", "supabase/functions/phone-verification/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": [ "rewrites" ], "path": "vercel.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": [ "imports" ], "path": "supabase/functions/phone-verification/deno.json", "selectors": null }, { "functions": [ "handler" ], "keys": null, "path": "supabase/functions/resend/index.ts", "selectors": null }, { "functions": null, "keys": [ "imports" ], "path": "supabase/functions/resend/deno.json", "selectors": null }, { "functions": null, "keys": [ "adapter" ], "path": ".snaplet/config.json", "selectors": null }, { "functions": null, "keys": [ "recommendations" ], "path": ".vscode/extensions.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "Stepper" ], "keys": null, "path": "src/components/ui/stepper.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "confirmDelete", "createInvitationLink", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit", "handleSendEmail" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleCheckboxChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.ts", "selectors": null }, { "functions": [ "sendCreatorInvitationEmail" ], "keys": null, "path": "src/services/invitation/sendCreatorInvitationEmail.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/invitation/fetchInvitations.ts", "selectors": null }, { "functions": [ "generateInvitationCode" ], "keys": null, "path": "src/services/invitation/createInvitation.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": [ "useSendInvitationEmail" ], "keys": null, "path": "src/hooks/useSendInvitationEmail.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "InvitationStepperPage", "fetchInvitationAndStages", "handleInputChange", "handleFacebookInputChange", "handleCheckboxChange", "handleCheckboxFacebookChange", "handlePasswordChange", "goToNextStep", "handleContinueWelcome", "handleCompleteProfileSubmit", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/invitation/[invitation_code].tsx", "selectors": null } ]
681
[ { "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 phone-verification invoke\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 \"rewrites\"\n ],\n \"path\": \"vercel.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\": [\n \"imports\"\n ],\n \"path\": \"supabase/functions/phone-verification/deno.json\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handler\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/resend/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"imports\"\n ],\n \"path\": \"supabase/functions/resend/deno.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"adapter\"\n ],\n \"path\": \".snaplet/config.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"recommendations\"\n ],\n \"path\": \".vscode/extensions.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"Stepper\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/stepper.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"confirmDelete\",\n \"createInvitationLink\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\",\n \"handleSendEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"sendCreatorInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/sendCreatorInvitationEmail.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/fetchInvitations.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/createInvitation.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 \"useSendInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useSendInvitationEmail.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationStepperPage\",\n \"fetchInvitationAndStages\",\n \"handleInputChange\",\n \"handleFacebookInputChange\",\n \"handleCheckboxChange\",\n \"handleCheckboxFacebookChange\",\n \"handlePasswordChange\",\n \"goToNextStep\",\n \"handleContinueWelcome\",\n \"handleCompleteProfileSubmit\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/invitation/[invitation_code].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/invitation/CompleteProfileForm.tsx\",\n \"supabase/functions/phone-verification/index.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Merge pull request #25 from gmrdaniel/fix/phone-verification fix phone-verification invoke
{ "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": [ "rewrites" ], "path": "vercel.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": [ "imports" ], "path": "supabase/functions/phone-verification/deno.json", "selectors": null }, { "functions": [ "handler" ], "keys": null, "path": "supabase/functions/resend/index.ts", "selectors": null }, { "functions": null, "keys": [ "imports" ], "path": "supabase/functions/resend/deno.json", "selectors": null }, { "functions": null, "keys": [ "adapter" ], "path": ".snaplet/config.json", "selectors": null }, { "functions": null, "keys": [ "recommendations" ], "path": ".vscode/extensions.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "Stepper" ], "keys": null, "path": "src/components/ui/stepper.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "confirmDelete", "createInvitationLink", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit", "handleSendEmail" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleCheckboxChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.ts", "selectors": null }, { "functions": [ "sendCreatorInvitationEmail" ], "keys": null, "path": "src/services/invitation/sendCreatorInvitationEmail.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/invitation/fetchInvitations.ts", "selectors": null }, { "functions": [ "generateInvitationCode" ], "keys": null, "path": "src/services/invitation/createInvitation.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": [ "useSendInvitationEmail" ], "keys": null, "path": "src/hooks/useSendInvitationEmail.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "InvitationStepperPage", "fetchInvitationAndStages", "handleInputChange", "handleFacebookInputChange", "handleCheckboxChange", "handleCheckboxFacebookChange", "handlePasswordChange", "goToNextStep", "handleContinueWelcome", "handleCompleteProfileSubmit", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/invitation/[invitation_code].tsx", "selectors": null } ]
682
[ { "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 #25 from gmrdaniel/fix/phone-verification\n\nfix phone-verification invoke\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 \"rewrites\"\n ],\n \"path\": \"vercel.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\": [\n \"imports\"\n ],\n \"path\": \"supabase/functions/phone-verification/deno.json\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handler\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/resend/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"imports\"\n ],\n \"path\": \"supabase/functions/resend/deno.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"adapter\"\n ],\n \"path\": \".snaplet/config.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"recommendations\"\n ],\n \"path\": \".vscode/extensions.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"Stepper\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/stepper.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"confirmDelete\",\n \"createInvitationLink\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\",\n \"handleSendEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"sendCreatorInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/sendCreatorInvitationEmail.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/fetchInvitations.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/createInvitation.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 \"useSendInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useSendInvitationEmail.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationStepperPage\",\n \"fetchInvitationAndStages\",\n \"handleInputChange\",\n \"handleFacebookInputChange\",\n \"handleCheckboxChange\",\n \"handleCheckboxFacebookChange\",\n \"handlePasswordChange\",\n \"goToNextStep\",\n \"handleContinueWelcome\",\n \"handleCompleteProfileSubmit\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/invitation/[invitation_code].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 comment to see if im invoking the right edge function
{ "changed": [ "src/components/invitation/CompleteProfileForm.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": [ "rewrites" ], "path": "vercel.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": [ "imports" ], "path": "supabase/functions/phone-verification/deno.json", "selectors": null }, { "functions": [ "handler" ], "keys": null, "path": "supabase/functions/resend/index.ts", "selectors": null }, { "functions": null, "keys": [ "imports" ], "path": "supabase/functions/resend/deno.json", "selectors": null }, { "functions": null, "keys": [ "adapter" ], "path": ".snaplet/config.json", "selectors": null }, { "functions": null, "keys": [ "recommendations" ], "path": ".vscode/extensions.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "Stepper" ], "keys": null, "path": "src/components/ui/stepper.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "confirmDelete", "createInvitationLink", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit", "handleSendEmail" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleCheckboxChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.ts", "selectors": null }, { "functions": [ "sendCreatorInvitationEmail" ], "keys": null, "path": "src/services/invitation/sendCreatorInvitationEmail.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/invitation/fetchInvitations.ts", "selectors": null }, { "functions": [ "generateInvitationCode" ], "keys": null, "path": "src/services/invitation/createInvitation.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": [ "useSendInvitationEmail" ], "keys": null, "path": "src/hooks/useSendInvitationEmail.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "InvitationStepperPage", "fetchInvitationAndStages", "handleInputChange", "handleFacebookInputChange", "handleCheckboxChange", "handleCheckboxFacebookChange", "handlePasswordChange", "goToNextStep", "handleContinueWelcome", "handleCompleteProfileSubmit", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/invitation/[invitation_code].tsx", "selectors": null } ]
683
[ { "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 comment to see if im invoking the right edge function\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 \"rewrites\"\n ],\n \"path\": \"vercel.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\": [\n \"imports\"\n ],\n \"path\": \"supabase/functions/phone-verification/deno.json\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handler\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/resend/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"imports\"\n ],\n \"path\": \"supabase/functions/resend/deno.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"adapter\"\n ],\n \"path\": \".snaplet/config.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"recommendations\"\n ],\n \"path\": \".vscode/extensions.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"Stepper\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/stepper.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"confirmDelete\",\n \"createInvitationLink\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\",\n \"handleSendEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"sendCreatorInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/sendCreatorInvitationEmail.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/fetchInvitations.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/createInvitation.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 \"useSendInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useSendInvitationEmail.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationStepperPage\",\n \"fetchInvitationAndStages\",\n \"handleInputChange\",\n \"handleFacebookInputChange\",\n \"handleCheckboxChange\",\n \"handleCheckboxFacebookChange\",\n \"handlePasswordChange\",\n \"goToNextStep\",\n \"handleContinueWelcome\",\n \"handleCompleteProfileSubmit\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/invitation/[invitation_code].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/invitation/CompleteProfileForm.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Merge pull request #23 from gmrdaniel/fix/phone-verification fix phone-verification to allow cors
{ "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": [ "rewrites" ], "path": "vercel.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": [ "imports" ], "path": "supabase/functions/phone-verification/deno.json", "selectors": null }, { "functions": [ "handler" ], "keys": null, "path": "supabase/functions/resend/index.ts", "selectors": null }, { "functions": null, "keys": [ "imports" ], "path": "supabase/functions/resend/deno.json", "selectors": null }, { "functions": null, "keys": [ "adapter" ], "path": ".snaplet/config.json", "selectors": null }, { "functions": null, "keys": [ "recommendations" ], "path": ".vscode/extensions.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "Stepper" ], "keys": null, "path": "src/components/ui/stepper.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "confirmDelete", "createInvitationLink", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit", "handleSendEmail" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleCheckboxChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.ts", "selectors": null }, { "functions": [ "sendCreatorInvitationEmail" ], "keys": null, "path": "src/services/invitation/sendCreatorInvitationEmail.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/invitation/fetchInvitations.ts", "selectors": null }, { "functions": [ "generateInvitationCode" ], "keys": null, "path": "src/services/invitation/createInvitation.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": [ "useSendInvitationEmail" ], "keys": null, "path": "src/hooks/useSendInvitationEmail.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "InvitationStepperPage", "fetchInvitationAndStages", "handleInputChange", "handleFacebookInputChange", "handleCheckboxChange", "handleCheckboxFacebookChange", "handlePasswordChange", "goToNextStep", "handleContinueWelcome", "handleCompleteProfileSubmit", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/invitation/[invitation_code].tsx", "selectors": null } ]
684
[ { "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 #23 from gmrdaniel/fix/phone-verification\n\nfix phone-verification to allow cors\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 \"rewrites\"\n ],\n \"path\": \"vercel.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\": [\n \"imports\"\n ],\n \"path\": \"supabase/functions/phone-verification/deno.json\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handler\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/resend/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"imports\"\n ],\n \"path\": \"supabase/functions/resend/deno.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"adapter\"\n ],\n \"path\": \".snaplet/config.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"recommendations\"\n ],\n \"path\": \".vscode/extensions.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"Stepper\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/stepper.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"confirmDelete\",\n \"createInvitationLink\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\",\n \"handleSendEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"sendCreatorInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/sendCreatorInvitationEmail.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/fetchInvitations.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/createInvitation.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 \"useSendInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useSendInvitationEmail.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationStepperPage\",\n \"fetchInvitationAndStages\",\n \"handleInputChange\",\n \"handleFacebookInputChange\",\n \"handleCheckboxChange\",\n \"handleCheckboxFacebookChange\",\n \"handlePasswordChange\",\n \"goToNextStep\",\n \"handleContinueWelcome\",\n \"handleCompleteProfileSubmit\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/invitation/[invitation_code].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 comment to see if im invoking the right edge function
{ "changed": [ "src/components/invitation/CompleteProfileForm.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": [ "rewrites" ], "path": "vercel.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": [ "imports" ], "path": "supabase/functions/phone-verification/deno.json", "selectors": null }, { "functions": [ "handler" ], "keys": null, "path": "supabase/functions/resend/index.ts", "selectors": null }, { "functions": null, "keys": [ "imports" ], "path": "supabase/functions/resend/deno.json", "selectors": null }, { "functions": null, "keys": [ "adapter" ], "path": ".snaplet/config.json", "selectors": null }, { "functions": null, "keys": [ "recommendations" ], "path": ".vscode/extensions.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "Stepper" ], "keys": null, "path": "src/components/ui/stepper.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "confirmDelete", "createInvitationLink", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit", "handleSendEmail" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleCheckboxChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.ts", "selectors": null }, { "functions": [ "sendCreatorInvitationEmail" ], "keys": null, "path": "src/services/invitation/sendCreatorInvitationEmail.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/invitation/fetchInvitations.ts", "selectors": null }, { "functions": [ "generateInvitationCode" ], "keys": null, "path": "src/services/invitation/createInvitation.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": [ "useSendInvitationEmail" ], "keys": null, "path": "src/hooks/useSendInvitationEmail.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "InvitationStepperPage", "fetchInvitationAndStages", "handleInputChange", "handleFacebookInputChange", "handleCheckboxChange", "handleCheckboxFacebookChange", "handlePasswordChange", "goToNextStep", "handleContinueWelcome", "handleCompleteProfileSubmit", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/invitation/[invitation_code].tsx", "selectors": null } ]
685
[ { "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 comment to see if im invoking the right edge function\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 \"rewrites\"\n ],\n \"path\": \"vercel.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\": [\n \"imports\"\n ],\n \"path\": \"supabase/functions/phone-verification/deno.json\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handler\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/resend/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"imports\"\n ],\n \"path\": \"supabase/functions/resend/deno.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"adapter\"\n ],\n \"path\": \".snaplet/config.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"recommendations\"\n ],\n \"path\": \".vscode/extensions.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"Stepper\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/stepper.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"confirmDelete\",\n \"createInvitationLink\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\",\n \"handleSendEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"sendCreatorInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/sendCreatorInvitationEmail.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/fetchInvitations.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/createInvitation.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 \"useSendInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useSendInvitationEmail.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationStepperPage\",\n \"fetchInvitationAndStages\",\n \"handleInputChange\",\n \"handleFacebookInputChange\",\n \"handleCheckboxChange\",\n \"handleCheckboxFacebookChange\",\n \"handlePasswordChange\",\n \"goToNextStep\",\n \"handleContinueWelcome\",\n \"handleCompleteProfileSubmit\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/invitation/[invitation_code].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/invitation/CompleteProfileForm.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Merge pull request #26 from gmrdaniel/fix/phone-verification Fix/phone verification
{ "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": [ "rewrites" ], "path": "vercel.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": [ "imports" ], "path": "supabase/functions/phone-verification/deno.json", "selectors": null }, { "functions": [ "handler" ], "keys": null, "path": "supabase/functions/resend/index.ts", "selectors": null }, { "functions": null, "keys": [ "imports" ], "path": "supabase/functions/resend/deno.json", "selectors": null }, { "functions": null, "keys": [ "adapter" ], "path": ".snaplet/config.json", "selectors": null }, { "functions": null, "keys": [ "recommendations" ], "path": ".vscode/extensions.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "Stepper" ], "keys": null, "path": "src/components/ui/stepper.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "confirmDelete", "createInvitationLink", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit", "handleSendEmail" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleCheckboxChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.ts", "selectors": null }, { "functions": [ "sendCreatorInvitationEmail" ], "keys": null, "path": "src/services/invitation/sendCreatorInvitationEmail.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/invitation/fetchInvitations.ts", "selectors": null }, { "functions": [ "generateInvitationCode" ], "keys": null, "path": "src/services/invitation/createInvitation.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": [ "useSendInvitationEmail" ], "keys": null, "path": "src/hooks/useSendInvitationEmail.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "InvitationStepperPage", "fetchInvitationAndStages", "handleInputChange", "handleFacebookInputChange", "handleCheckboxChange", "handleCheckboxFacebookChange", "handlePasswordChange", "goToNextStep", "handleContinueWelcome", "handleCompleteProfileSubmit", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/invitation/[invitation_code].tsx", "selectors": null } ]
686
[ { "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 #26 from gmrdaniel/fix/phone-verification\n\nFix/phone verification\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 \"rewrites\"\n ],\n \"path\": \"vercel.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\": [\n \"imports\"\n ],\n \"path\": \"supabase/functions/phone-verification/deno.json\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handler\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/resend/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"imports\"\n ],\n \"path\": \"supabase/functions/resend/deno.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"adapter\"\n ],\n \"path\": \".snaplet/config.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"recommendations\"\n ],\n \"path\": \".vscode/extensions.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"Stepper\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/stepper.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"confirmDelete\",\n \"createInvitationLink\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\",\n \"handleSendEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"sendCreatorInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/sendCreatorInvitationEmail.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/fetchInvitations.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/createInvitation.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 \"useSendInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useSendInvitationEmail.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationStepperPage\",\n \"fetchInvitationAndStages\",\n \"handleInputChange\",\n \"handleFacebookInputChange\",\n \"handleCheckboxChange\",\n \"handleCheckboxFacebookChange\",\n \"handlePasswordChange\",\n \"goToNextStep\",\n \"handleContinueWelcome\",\n \"handleCompleteProfileSubmit\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/invitation/[invitation_code].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
Merge pull request #27 from gmrdaniel/develop Develop
{ "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": [ "rewrites" ], "path": "vercel.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": [ "imports" ], "path": "supabase/functions/phone-verification/deno.json", "selectors": null }, { "functions": [ "handler" ], "keys": null, "path": "supabase/functions/resend/index.ts", "selectors": null }, { "functions": null, "keys": [ "imports" ], "path": "supabase/functions/resend/deno.json", "selectors": null }, { "functions": null, "keys": [ "adapter" ], "path": ".snaplet/config.json", "selectors": null }, { "functions": null, "keys": [ "recommendations" ], "path": ".vscode/extensions.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "Stepper" ], "keys": null, "path": "src/components/ui/stepper.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "confirmDelete", "createInvitationLink", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit", "handleSendEmail" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleCheckboxChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.ts", "selectors": null }, { "functions": [ "sendCreatorInvitationEmail" ], "keys": null, "path": "src/services/invitation/sendCreatorInvitationEmail.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/invitation/fetchInvitations.ts", "selectors": null }, { "functions": [ "generateInvitationCode" ], "keys": null, "path": "src/services/invitation/createInvitation.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": [ "useSendInvitationEmail" ], "keys": null, "path": "src/hooks/useSendInvitationEmail.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "InvitationStepperPage", "fetchInvitationAndStages", "handleInputChange", "handleFacebookInputChange", "handleCheckboxChange", "handleCheckboxFacebookChange", "handlePasswordChange", "goToNextStep", "handleContinueWelcome", "handleCompleteProfileSubmit", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/invitation/[invitation_code].tsx", "selectors": null } ]
687
[ { "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 #27 from gmrdaniel/develop\n\nDevelop\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 \"rewrites\"\n ],\n \"path\": \"vercel.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\": [\n \"imports\"\n ],\n \"path\": \"supabase/functions/phone-verification/deno.json\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handler\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/resend/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"imports\"\n ],\n \"path\": \"supabase/functions/resend/deno.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"adapter\"\n ],\n \"path\": \".snaplet/config.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"recommendations\"\n ],\n \"path\": \".vscode/extensions.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"Stepper\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/stepper.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"confirmDelete\",\n \"createInvitationLink\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\",\n \"handleSendEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"sendCreatorInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/sendCreatorInvitationEmail.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/fetchInvitations.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/createInvitation.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 \"useSendInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useSendInvitationEmail.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationStepperPage\",\n \"fetchInvitationAndStages\",\n \"handleInputChange\",\n \"handleFacebookInputChange\",\n \"handleCheckboxChange\",\n \"handleCheckboxFacebookChange\",\n \"handlePasswordChange\",\n \"goToNextStep\",\n \"handleContinueWelcome\",\n \"handleCompleteProfileSubmit\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/invitation/[invitation_code].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 verify-phone
{ "changed": [ "src/components/invitation/CompleteProfileForm.tsx", "supabase/config.toml" ], "created": [ "supabase/functions/verify-phone/.npmrc", "supabase/functions/verify-phone/deno.json", "supabase/functions/verify-phone/index.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": [ "rewrites" ], "path": "vercel.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": [ "imports" ], "path": "supabase/functions/phone-verification/deno.json", "selectors": null }, { "functions": [ "handler" ], "keys": null, "path": "supabase/functions/resend/index.ts", "selectors": null }, { "functions": null, "keys": [ "imports" ], "path": "supabase/functions/resend/deno.json", "selectors": null }, { "functions": null, "keys": [ "adapter" ], "path": ".snaplet/config.json", "selectors": null }, { "functions": null, "keys": [ "recommendations" ], "path": ".vscode/extensions.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "Stepper" ], "keys": null, "path": "src/components/ui/stepper.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "confirmDelete", "createInvitationLink", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit", "handleSendEmail" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleCheckboxChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.ts", "selectors": null }, { "functions": [ "sendCreatorInvitationEmail" ], "keys": null, "path": "src/services/invitation/sendCreatorInvitationEmail.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/invitation/fetchInvitations.ts", "selectors": null }, { "functions": [ "generateInvitationCode" ], "keys": null, "path": "src/services/invitation/createInvitation.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": [ "useSendInvitationEmail" ], "keys": null, "path": "src/hooks/useSendInvitationEmail.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "InvitationStepperPage", "fetchInvitationAndStages", "handleInputChange", "handleFacebookInputChange", "handleCheckboxChange", "handleCheckboxFacebookChange", "handlePasswordChange", "goToNextStep", "handleContinueWelcome", "handleCompleteProfileSubmit", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/invitation/[invitation_code].tsx", "selectors": null } ]
688
[ { "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 verify-phone\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 \"rewrites\"\n ],\n \"path\": \"vercel.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\": [\n \"imports\"\n ],\n \"path\": \"supabase/functions/phone-verification/deno.json\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handler\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/resend/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"imports\"\n ],\n \"path\": \"supabase/functions/resend/deno.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"adapter\"\n ],\n \"path\": \".snaplet/config.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"recommendations\"\n ],\n \"path\": \".vscode/extensions.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"Stepper\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/stepper.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"confirmDelete\",\n \"createInvitationLink\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\",\n \"handleSendEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"sendCreatorInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/sendCreatorInvitationEmail.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/fetchInvitations.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/createInvitation.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 \"useSendInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useSendInvitationEmail.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationStepperPage\",\n \"fetchInvitationAndStages\",\n \"handleInputChange\",\n \"handleFacebookInputChange\",\n \"handleCheckboxChange\",\n \"handleCheckboxFacebookChange\",\n \"handlePasswordChange\",\n \"goToNextStep\",\n \"handleContinueWelcome\",\n \"handleCompleteProfileSubmit\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/invitation/[invitation_code].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/invitation/CompleteProfileForm.tsx\",\n \"supabase/config.toml\"\n ],\n \"created\": [\n \"supabase/functions/verify-phone/.npmrc\",\n \"supabase/functions/verify-phone/deno.json\",\n \"supabase/functions/verify-phone/index.ts\"\n ],\n \"deleted\": []\n}" } ]
gmrdaniel/grm-meta
Merge pull request #28 from gmrdaniel/develop add verify-phone
{ "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": [ "rewrites" ], "path": "vercel.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": [ "imports" ], "path": "supabase/functions/phone-verification/deno.json", "selectors": null }, { "functions": [ "handler" ], "keys": null, "path": "supabase/functions/resend/index.ts", "selectors": null }, { "functions": null, "keys": [ "imports" ], "path": "supabase/functions/resend/deno.json", "selectors": null }, { "functions": null, "keys": [ "imports" ], "path": "supabase/functions/verify-phone/deno.json", "selectors": null }, { "functions": null, "keys": [ "adapter" ], "path": ".snaplet/config.json", "selectors": null }, { "functions": null, "keys": [ "recommendations" ], "path": ".vscode/extensions.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "Stepper" ], "keys": null, "path": "src/components/ui/stepper.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "confirmDelete", "createInvitationLink", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit", "handleSendEmail" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleCheckboxChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.ts", "selectors": null }, { "functions": [ "sendCreatorInvitationEmail" ], "keys": null, "path": "src/services/invitation/sendCreatorInvitationEmail.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/invitation/fetchInvitations.ts", "selectors": null }, { "functions": [ "generateInvitationCode" ], "keys": null, "path": "src/services/invitation/createInvitation.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": [ "useSendInvitationEmail" ], "keys": null, "path": "src/hooks/useSendInvitationEmail.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "InvitationStepperPage", "fetchInvitationAndStages", "handleInputChange", "handleFacebookInputChange", "handleCheckboxChange", "handleCheckboxFacebookChange", "handlePasswordChange", "goToNextStep", "handleContinueWelcome", "handleCompleteProfileSubmit", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/invitation/[invitation_code].tsx", "selectors": null } ]
689
[ { "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 #28 from gmrdaniel/develop\n\nadd verify-phone\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 \"rewrites\"\n ],\n \"path\": \"vercel.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\": [\n \"imports\"\n ],\n \"path\": \"supabase/functions/phone-verification/deno.json\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handler\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/resend/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"imports\"\n ],\n \"path\": \"supabase/functions/resend/deno.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"imports\"\n ],\n \"path\": \"supabase/functions/verify-phone/deno.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"adapter\"\n ],\n \"path\": \".snaplet/config.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"recommendations\"\n ],\n \"path\": \".vscode/extensions.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"Stepper\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/stepper.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"confirmDelete\",\n \"createInvitationLink\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\",\n \"handleSendEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"sendCreatorInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/sendCreatorInvitationEmail.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/fetchInvitations.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/createInvitation.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 \"useSendInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useSendInvitationEmail.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationStepperPage\",\n \"fetchInvitationAndStages\",\n \"handleInputChange\",\n \"handleFacebookInputChange\",\n \"handleCheckboxChange\",\n \"handleCheckboxFacebookChange\",\n \"handlePasswordChange\",\n \"goToNextStep\",\n \"handleContinueWelcome\",\n \"handleCompleteProfileSubmit\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/invitation/[invitation_code].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 terms and conditions dialog to welcome form because it wasnt working
{ "changed": [ "src/components/invitation/WelcomeForm.tsx" ], "created": [ "src/components/terms-and-conditions/TermsAndConditions.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": [ "rewrites" ], "path": "vercel.json", "selectors": null }, { "functions": null, "keys": [ "$schema", "style", "rsc", "tsx", "tailwind", "aliases" ], "path": "components.json", "selectors": null }, { "functions": null, "keys": [ "imports" ], "path": "supabase/functions/phone-verification/deno.json", "selectors": null }, { "functions": [ "handler" ], "keys": null, "path": "supabase/functions/resend/index.ts", "selectors": null }, { "functions": null, "keys": [ "imports" ], "path": "supabase/functions/resend/deno.json", "selectors": null }, { "functions": null, "keys": [ "imports" ], "path": "supabase/functions/verify-phone/deno.json", "selectors": null }, { "functions": null, "keys": [ "adapter" ], "path": ".snaplet/config.json", "selectors": null }, { "functions": null, "keys": [ "recommendations" ], "path": ".vscode/extensions.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": [ "Layout" ], "keys": null, "path": "src/components/Layout.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": [ "AuthForm", "handleSubmit" ], "keys": null, "path": "src/components/auth/AuthForm.tsx", "selectors": null }, { "functions": [ "PasswordRecoveryDialog", "handlePasswordRecovery", "closeRecoveryDialog" ], "keys": null, "path": "src/components/auth/PasswordRecoveryDialog.tsx", "selectors": null }, { "functions": [ "AuthContainer" ], "keys": null, "path": "src/components/auth/AuthContainer.tsx", "selectors": null }, { "functions": [ "LoadingSpinner" ], "keys": null, "path": "src/components/auth/LoadingSpinner.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": [ "LoadingSpinner" ], "keys": null, "path": "src/components/ui/loading-spinner.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": [ "Stepper" ], "keys": null, "path": "src/components/ui/stepper.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": [ "ProjectDetail", "handleUpdateProject", "handleEditStage", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectDetail.tsx", "selectors": null }, { "functions": [ "ProjectStagesList", "handleMoveStage", "handleDeleteStage", "handleTogglePrivacy" ], "keys": null, "path": "src/components/admin/projects/ProjectStagesList.tsx", "selectors": null }, { "functions": [ "ProjectForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectForm.tsx", "selectors": null }, { "functions": [ "ProjectStageForm", "onSubmit" ], "keys": null, "path": "src/components/admin/projects/ProjectStageForm.tsx", "selectors": null }, { "functions": [ "ProjectsList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/projects/ProjectsList.tsx", "selectors": null }, { "functions": [ "ImportCreators" ], "keys": null, "path": "src/components/admin/inventory/ImportCreators.tsx", "selectors": null }, { "functions": [ "if", "TikTokVideosList", "onSubmit", "formatNumber", "formatDate", "formatDuration", "handleDelete" ], "keys": null, "path": "src/components/admin/inventory/TikTokVideosList.tsx", "selectors": null }, { "functions": [ "CreatorForm", "onSubmit" ], "keys": null, "path": "src/components/admin/inventory/CreatorForm.tsx", "selectors": null }, { "functions": [ "getInitials", "formatDate", "if" ], "keys": null, "path": "src/components/admin/inventory/CreatorsList.tsx", "selectors": null }, { "functions": [ "BulkInvitationsHistory", "handleViewDetails", "getStatusBadge" ], "keys": null, "path": "src/components/admin/inventory/BulkInvitationsHistory.tsx", "selectors": null }, { "functions": [ "CreatorDetail" ], "keys": null, "path": "src/components/admin/inventory/CreatorDetail.tsx", "selectors": null }, { "functions": [ "TikTokImportTemplate", "downloadTemplate", "handleProcessExcelFile", "handleImportCsv" ], "keys": null, "path": "src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx", "selectors": null }, { "functions": [ "ImportResultCard" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportResultCard.tsx", "selectors": null }, { "functions": [ "FileUploader", "handleFileChange" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/FileUploader.tsx", "selectors": null }, { "functions": [ "ImportMethodSelector" ], "keys": null, "path": "src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx", "selectors": null }, { "functions": [ "updateBulkInvitation", "if" ], "keys": null, "path": "src/components/admin/inventory/import-templates/utils/importUtils.ts", "selectors": null }, { "functions": [ "TikTokFields" ], "keys": null, "path": "src/components/admin/inventory/form/TikTokFields.tsx", "selectors": null }, { "functions": [ "PersonalInfoFields" ], "keys": null, "path": "src/components/admin/inventory/form/PersonalInfoFields.tsx", "selectors": null }, { "functions": [ "StatusField" ], "keys": null, "path": "src/components/admin/inventory/form/StatusField.tsx", "selectors": null }, { "functions": [ "OtherSocialFields" ], "keys": null, "path": "src/components/admin/inventory/form/OtherSocialFields.tsx", "selectors": null }, { "functions": [ "FormHeader" ], "keys": null, "path": "src/components/admin/inventory/form/FormHeader.tsx", "selectors": null }, { "functions": [ "YouTubeFields" ], "keys": null, "path": "src/components/admin/inventory/form/YouTubeFields.tsx", "selectors": null }, { "functions": [ "FormActions" ], "keys": null, "path": "src/components/admin/inventory/form/FormActions.tsx", "selectors": null }, { "functions": [ "FormSection" ], "keys": null, "path": "src/components/admin/inventory/form/FormSection.tsx", "selectors": null }, { "functions": [ "ActionCard", "ActionCards" ], "keys": null, "path": "src/components/admin/migrations/ActionCards.tsx", "selectors": null }, { "functions": [ "TableMigrationsTab" ], "keys": null, "path": "src/components/admin/migrations/TableMigrationsTab.tsx", "selectors": null }, { "functions": [ "FullSchemaTab" ], "keys": null, "path": "src/components/admin/migrations/FullSchemaTab.tsx", "selectors": null }, { "functions": [ "FunctionsTab" ], "keys": null, "path": "src/components/admin/migrations/FunctionsTab.tsx", "selectors": null }, { "functions": [ "TasksList", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TasksList.tsx", "selectors": null }, { "functions": [ "TaskDetail", "handleStatusUpdate", "getStatusBadge" ], "keys": null, "path": "src/components/admin/tasks/TaskDetail.tsx", "selectors": null }, { "functions": [ "EmailSection" ], "keys": null, "path": "src/components/admin/creator-detail/EmailSection.tsx", "selectors": null }, { "functions": [ "InvitationsList", "confirmDelete", "createInvitationLink", "copyInvitationLink", "copyInvitationCode", "resetInvitationStatus", "getStatusBadge" ], "keys": null, "path": "src/components/admin/invitations/InvitationsList.tsx", "selectors": null }, { "functions": [ "onSubmit", "handleSendEmail" ], "keys": null, "path": "src/components/admin/invitations/InvitationForm.tsx", "selectors": null }, { "functions": [ "CreatorServicesPagination" ], "keys": null, "path": "src/components/creator-services/CreatorServicesPagination.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": [ "handleContinue" ], "keys": null, "path": "src/components/invitation/WelcomeForm.tsx", "selectors": null }, { "functions": [ "formatTime", "validateInstagramUsername", "handleInputChange", "handleCheckboxChange", "handleSendVerificationCode", "handleVerifyCode", "handleResendCode", "handleSubmit" ], "keys": null, "path": "src/components/invitation/CompleteProfileForm.tsx", "selectors": null }, { "functions": [ "cn" ], "keys": null, "path": "src/lib/utils.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/tasksService.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/creatorService.ts", "selectors": null }, { "functions": [ "getUpdateStagesOrderFunctionSQL" ], "keys": null, "path": "src/services/migrationService.ts", "selectors": null }, { "functions": [ "sendCreatorInvitationEmail" ], "keys": null, "path": "src/services/invitation/sendCreatorInvitationEmail.ts", "selectors": null }, { "functions": [ "if" ], "keys": null, "path": "src/services/invitation/fetchInvitations.ts", "selectors": null }, { "functions": [ "generateInvitationCode" ], "keys": null, "path": "src/services/invitation/createInvitation.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": [ "useSendInvitationEmail" ], "keys": null, "path": "src/hooks/useSendInvitationEmail.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", "checkUserRole" ], "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" ], "keys": null, "path": "src/pages/creator/Dashboard.tsx", "selectors": null }, { "functions": [ "CreatorProfile" ], "keys": null, "path": "src/pages/creator/Profile.tsx", "selectors": null }, { "functions": [ "AdminDashboard" ], "keys": null, "path": "src/pages/admin/Dashboard.tsx", "selectors": null }, { "functions": [ "AdminProjects" ], "keys": null, "path": "src/pages/admin/projects/index.tsx", "selectors": null }, { "functions": [ "AdminProjectDetail" ], "keys": null, "path": "src/pages/admin/projects/[id].tsx", "selectors": null }, { "functions": [ "AdminInventory", "handleCreatorSelect", "handleBackToList", "handleFilterChange" ], "keys": null, "path": "src/pages/admin/inventory/index.tsx", "selectors": null }, { "functions": [ "handleExportFullSchema", "handleGenerateMigrations", "handleGetFunctionSQL", "copyToClipboard", "downloadAsFile" ], "keys": null, "path": "src/pages/admin/migrations/index.tsx", "selectors": null }, { "functions": [ "AdminTasks", "handleTaskSelect" ], "keys": null, "path": "src/pages/admin/tasks/index.tsx", "selectors": null }, { "functions": [ "InvitationsPage", "handleCreateClick", "handleInvitationCreated" ], "keys": null, "path": "src/pages/admin/invitations/index.tsx", "selectors": null }, { "functions": [ "AdminTestPage", "handleTestService", "handleDirectTest", "handleTiktokTest", "handleTiktokVideoTest" ], "keys": null, "path": "src/pages/admin/test/index.tsx", "selectors": null }, { "functions": [ "InvitationPage", "fetchInvitationDetails", "handleAccept" ], "keys": null, "path": "src/pages/invite/[url]/[id].tsx", "selectors": null }, { "functions": [ "FbCreationPage", "fetchInvitation", "handleInputChange", "handlePasswordChange", "handleCheckboxChange", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/FbCreation/[invitation_code].tsx", "selectors": null }, { "functions": [ "CompleteProfilePage", "loadInvitation", "handleSubmit" ], "keys": null, "path": "src/pages/meta/completeProfile/[invitation_code].tsx", "selectors": null }, { "functions": [ "WelcomePage", "fetchInvitation", "handleInputChange", "handleCheckboxChange", "handleContinue" ], "keys": null, "path": "src/pages/meta/welcome/[invitation_code].tsx", "selectors": null }, { "functions": [ "InvitationStepperPage", "fetchInvitationAndStages", "handleInputChange", "handleFacebookInputChange", "handleCheckboxChange", "handleCheckboxFacebookChange", "handlePasswordChange", "goToNextStep", "handleContinueWelcome", "handleCompleteProfileSubmit", "handleSubmit", "handleSetPassword" ], "keys": null, "path": "src/pages/meta/invitation/[invitation_code].tsx", "selectors": null } ]
690
[ { "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 terms and conditions dialog to welcome form because it wasnt working\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 \"rewrites\"\n ],\n \"path\": \"vercel.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\": [\n \"imports\"\n ],\n \"path\": \"supabase/functions/phone-verification/deno.json\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handler\"\n ],\n \"keys\": null,\n \"path\": \"supabase/functions/resend/index.ts\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"imports\"\n ],\n \"path\": \"supabase/functions/resend/deno.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"imports\"\n ],\n \"path\": \"supabase/functions/verify-phone/deno.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"adapter\"\n ],\n \"path\": \".snaplet/config.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"recommendations\"\n ],\n \"path\": \".vscode/extensions.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 \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.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 \"AuthForm\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PasswordRecoveryDialog\",\n \"handlePasswordRecovery\",\n \"closeRecoveryDialog\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/PasswordRecoveryDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthContainer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/AuthContainer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/auth/LoadingSpinner.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 \"LoadingSpinner\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/loading-spinner.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 \"Stepper\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/stepper.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 \"ProjectDetail\",\n \"handleUpdateProject\",\n \"handleEditStage\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStagesList\",\n \"handleMoveStage\",\n \"handleDeleteStage\",\n \"handleTogglePrivacy\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStagesList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectStageForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectStageForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectsList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/projects/ProjectsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportCreators\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/ImportCreators.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\",\n \"TikTokVideosList\",\n \"onSubmit\",\n \"formatNumber\",\n \"formatDate\",\n \"formatDuration\",\n \"handleDelete\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/TikTokVideosList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getInitials\",\n \"formatDate\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BulkInvitationsHistory\",\n \"handleViewDetails\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/BulkInvitationsHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/CreatorDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokImportTemplate\",\n \"downloadTemplate\",\n \"handleProcessExcelFile\",\n \"handleImportCsv\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/TikTokImportTemplate.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportResultCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportResultCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FileUploader\",\n \"handleFileChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/FileUploader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ImportMethodSelector\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/components/ImportMethodSelector.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateBulkInvitation\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/import-templates/utils/importUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TikTokFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/TikTokFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PersonalInfoFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/PersonalInfoFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StatusField\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/StatusField.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"OtherSocialFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/OtherSocialFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormHeader\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormHeader.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"YouTubeFields\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/YouTubeFields.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FormSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/inventory/form/FormSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ActionCard\",\n \"ActionCards\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/ActionCards.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TableMigrationsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/TableMigrationsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FullSchemaTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FullSchemaTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FunctionsTab\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/migrations/FunctionsTab.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TasksList\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TasksList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TaskDetail\",\n \"handleStatusUpdate\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/tasks/TaskDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EmailSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/creator-detail/EmailSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsList\",\n \"confirmDelete\",\n \"createInvitationLink\",\n \"copyInvitationLink\",\n \"copyInvitationCode\",\n \"resetInvitationStatus\",\n \"getStatusBadge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\",\n \"handleSendEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/components/admin/invitations/InvitationForm.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 \"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 \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/WelcomeForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatTime\",\n \"validateInstagramUsername\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleSendVerificationCode\",\n \"handleVerifyCode\",\n \"handleResendCode\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/invitation/CompleteProfileForm.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 \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/tasksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/creatorService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getUpdateStagesOrderFunctionSQL\"\n ],\n \"keys\": null,\n \"path\": \"src/services/migrationService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"sendCreatorInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/sendCreatorInvitationEmail.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/fetchInvitations.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateInvitationCode\"\n ],\n \"keys\": null,\n \"path\": \"src/services/invitation/createInvitation.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 \"useSendInvitationEmail\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useSendInvitationEmail.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 \"checkUserRole\"\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 ],\n \"keys\": null,\n \"path\": \"src/pages/creator/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CreatorProfile\"\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 \"AdminProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminProjectDetail\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/projects/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminInventory\",\n \"handleCreatorSelect\",\n \"handleBackToList\",\n \"handleFilterChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/inventory/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleExportFullSchema\",\n \"handleGenerateMigrations\",\n \"handleGetFunctionSQL\",\n \"copyToClipboard\",\n \"downloadAsFile\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/migrations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTasks\",\n \"handleTaskSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/tasks/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationsPage\",\n \"handleCreateClick\",\n \"handleInvitationCreated\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/invitations/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminTestPage\",\n \"handleTestService\",\n \"handleDirectTest\",\n \"handleTiktokTest\",\n \"handleTiktokVideoTest\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/admin/test/index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationPage\",\n \"fetchInvitationDetails\",\n \"handleAccept\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/invite/[url]/[id].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FbCreationPage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handlePasswordChange\",\n \"handleCheckboxChange\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/FbCreation/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CompleteProfilePage\",\n \"loadInvitation\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/completeProfile/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WelcomePage\",\n \"fetchInvitation\",\n \"handleInputChange\",\n \"handleCheckboxChange\",\n \"handleContinue\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/welcome/[invitation_code].tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"InvitationStepperPage\",\n \"fetchInvitationAndStages\",\n \"handleInputChange\",\n \"handleFacebookInputChange\",\n \"handleCheckboxChange\",\n \"handleCheckboxFacebookChange\",\n \"handlePasswordChange\",\n \"goToNextStep\",\n \"handleContinueWelcome\",\n \"handleCompleteProfileSubmit\",\n \"handleSubmit\",\n \"handleSetPassword\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/meta/invitation/[invitation_code].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/invitation/WelcomeForm.tsx\"\n ],\n \"created\": [\n \"src/components/terms-and-conditions/TermsAndConditions.tsx\"\n ],\n \"deleted\": []\n}" } ]