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
|
Merge pull request #29 from gmrdaniel/fix/show-terms-and-conditions
add terms and conditions dialog to welcome form because it wasnt working
|
{
"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
}
] | 691 |
[
{
"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 #29 from gmrdaniel/fix/show-terms-and-conditions\n\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 \"created\": [],\n \"deleted\": []\n}"
}
] |
gmrdaniel/grm-meta
|
migration to create profile
|
{
"changed": [
"src/pages/meta/FbCreation/[invitation_code].tsx",
"supabase/config.toml"
],
"created": [
"supabase/migrations/20250402200213_trigger_on_auth_user_created.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": [
"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
}
] | 692 |
[
{
"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:**\nmigration to create profile\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/pages/meta/FbCreation/[invitation_code].tsx\",\n \"supabase/config.toml\"\n ],\n \"created\": [\n \"supabase/migrations/20250402200213_trigger_on_auth_user_created.sql\"\n ],\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": [
"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
}
] | 693 |
[
{
"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 \"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
|
fix(changes): :art: changes in forms steps
|
{
"changed": [
"src/components/invitation/CompleteProfileForm.tsx",
"src/pages/meta/invitation/[invitation_code].tsx"
],
"created": [
"supabase/migrations/20250402001927_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": [
"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
}
] | 694 |
[
{
"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(changes): :art: changes in forms steps\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/CompleteProfileForm.tsx\",\n \"src/pages/meta/invitation/[invitation_code].tsx\"\n ],\n \"created\": [\n \"supabase/migrations/20250402001927_remote_schema.sql\"\n ],\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": [
"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
}
] | 695 |
[
{
"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 \"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
|
fix(changes): :art: changes in step3 form facebook
|
{
"changed": [
"src/components/facebook/FacebookPageForm.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": [
"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
}
] | 696 |
[
{
"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(changes): :art: changes in step3 form facebook\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/facebook/FacebookPageForm.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
gmrdaniel/grm-meta
|
fix(changes): :art: checkboxs in step3
|
{
"changed": [
"src/components/facebook/FacebookPageForm.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": [
"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
}
] | 697 |
[
{
"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(changes): :art: checkboxs in step3\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/facebook/FacebookPageForm.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
gmrdaniel/grm-meta
|
supabase/migrations/20250402223941_alter_table_creator_invitations.sq
|
{
"changed": [
"src/pages/meta/invitation/[invitation_code].tsx",
"src/services/invitation/updateInvitation.ts",
"src/types/invitation.ts"
],
"created": [
"supabase/migrations/20250402223941_alter_table_creator_invitations.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": [
"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
}
] | 698 |
[
{
"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:**\nsupabase/migrations/20250402223941_alter_table_creator_invitations.sq\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/pages/meta/invitation/[invitation_code].tsx\",\n \"src/services/invitation/updateInvitation.ts\",\n \"src/types/invitation.ts\"\n ],\n \"created\": [\n \"supabase/migrations/20250402223941_alter_table_creator_invitations.sql\"\n ],\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": [
"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
}
] | 699 |
[
{
"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 \"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
|
remove remote_schema migration
|
{
"changed": [],
"created": [],
"deleted": [
"supabase/migrations/20250402001927_remote_schema.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": [
"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
}
] | 700 |
[
{
"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 remote_schema migration\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 \"supabase/migrations/20250402001927_remote_schema.sql\"\n ]\n}"
}
] |
gmrdaniel/grm-meta
|
add conditions to avoid setting passwords to users
|
{
"changed": [
"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": [
"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
}
] | 701 |
[
{
"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 conditions to avoid setting passwords to users\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"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/pages/meta/invitation/[invitation_code].tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
gmrdaniel/grm-meta
|
feat(changes): :art: add checkbox in step1 & step3
|
{
"changed": [
"src/components/facebook/FacebookPageForm.tsx",
"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": [
"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
}
] | 702 |
[
{
"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(changes): :art: add checkbox in step1 & step3\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/facebook/FacebookPageForm.tsx\",\n \"src/components/invitation/WelcomeForm.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
gmrdaniel/grm-meta
|
Merge pull request #31 from gmrdaniel/fix/show-add-password
add conditions to avoid setting passwords to users
|
{
"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
}
] | 703 |
[
{
"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 #31 from gmrdaniel/fix/show-add-password\n\nadd conditions to avoid setting passwords to users\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"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
|
Merge branch 'develop' of https://github.com/gmrdaniel/grm-meta into fix/add-checkbox-to-facebook-form
|
{
"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
}
] | 704 |
[
{
"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 fix/add-checkbox-to-facebook-form\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
|
Merge pull request #32 from gmrdaniel/fix/add-checkbox-to-facebook-form
Fix/add checkbox to facebook form
|
{
"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
}
] | 705 |
[
{
"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 #32 from gmrdaniel/fix/add-checkbox-to-facebook-form\n\nFix/add checkbox to facebook form\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
|
fix facebook form & benefits
|
{
"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": [
"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
}
] | 706 |
[
{
"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 facebook form & benefits\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 \"src/pages/meta/invitation/[invitation_code].tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
gmrdaniel/grm-meta
|
Merge pull request #33 from gmrdaniel/fix/add-checkbox-to-facebook-form
fix facebook form & benefits
|
{
"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
}
] | 707 |
[
{
"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 #33 from gmrdaniel/fix/add-checkbox-to-facebook-form\n\nfix facebook form & benefits\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-status-metaverified
|
{
"changed": [
"package-lock.json",
"package.json",
"src/pages/creator/Dashboard.tsx"
],
"created": [
"supabase/migrations/20250403165949_add-meta-verified-column.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": [
"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
}
] | 708 |
[
{
"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-status-metaverified\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 \"package-lock.json\",\n \"package.json\",\n \"src/pages/creator/Dashboard.tsx\"\n ],\n \"created\": [\n \"supabase/migrations/20250403165949_add-meta-verified-column.sql\"\n ],\n \"deleted\": []\n}"
}
] |
gmrdaniel/grm-meta
|
Merge branch 'develop' of https://github.com/gmrdaniel/grm-meta into fix/add-status-submission-dashboard-creator
|
{
"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",
"fetchVerificationStatus"
],
"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
}
] | 709 |
[
{
"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 fix/add-status-submission-dashboard-creator\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 \"fetchVerificationStatus\"\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
|
footer-change-in-texts-url-facebook
|
{
"changed": [
"src/components/facebook/FacebookPageForm.tsx",
"src/components/invitation/WelcomeForm.tsx",
"src/pages/meta/invitation/[invitation_code].tsx"
],
"created": [
"src/components/Footer.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",
"fetchVerificationStatus"
],
"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
}
] | 710 |
[
{
"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:**\nfooter-change-in-texts-url-facebook\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 \"fetchVerificationStatus\"\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/facebook/FacebookPageForm.tsx\",\n \"src/components/invitation/WelcomeForm.tsx\",\n \"src/pages/meta/invitation/[invitation_code].tsx\"\n ],\n \"created\": [\n \"src/components/Footer.tsx\"\n ],\n \"deleted\": []\n}"
}
] |
gmrdaniel/grm-meta
|
Merge pull request #35 from gmrdaniel/fix/add-changes-in-texts
Fix/add changes in texts
|
{
"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": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.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",
"fetchVerificationStatus"
],
"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
}
] | 711 |
[
{
"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 #35 from gmrdaniel/fix/add-changes-in-texts\n\nFix/add changes in texts\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 \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.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 \"fetchVerificationStatus\"\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 supabase facebook verification
|
{
"changed": [
"index.html",
"public/favicon.ico",
"src/components/facebook/FacebookPageForm.tsx",
"src/pages/meta/invitation/[invitation_code].tsx",
"supabase/config.toml"
],
"created": [
"src/hooks/use-facebook-page-api.tsx",
"src/services/facebook/fetchFacebookPageDetails.ts",
"src/types/facebookPageDetails.ts",
"supabase/functions/facebook-page-details/.npmrc",
"supabase/functions/facebook-page-details/deno.json",
"supabase/functions/facebook-page-details/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": [
"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": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.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",
"fetchVerificationStatus"
],
"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
}
] | 712 |
[
{
"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 supabase facebook 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 \"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 \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.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 \"fetchVerificationStatus\"\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 \"index.html\",\n \"public/favicon.ico\",\n \"src/components/facebook/FacebookPageForm.tsx\",\n \"src/pages/meta/invitation/[invitation_code].tsx\",\n \"supabase/config.toml\"\n ],\n \"created\": [\n \"src/hooks/use-facebook-page-api.tsx\",\n \"src/services/facebook/fetchFacebookPageDetails.ts\",\n \"src/types/facebookPageDetails.ts\",\n \"supabase/functions/facebook-page-details/.npmrc\",\n \"supabase/functions/facebook-page-details/deno.json\",\n \"supabase/functions/facebook-page-details/index.ts\"\n ],\n \"deleted\": []\n}"
}
] |
gmrdaniel/grm-meta
|
merge with origin 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": [
"imports"
],
"path": "supabase/functions/verify-phone/deno.json",
"selectors": null
},
{
"functions": null,
"keys": [
"imports"
],
"path": "supabase/functions/facebook-page-details/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": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.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": [
"useFacebookPageApi",
"fetchPageDetails"
],
"keys": null,
"path": "src/hooks/use-facebook-page-api.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",
"fetchVerificationStatus"
],
"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",
"handleFacebookSubmit",
"handleSetPassword"
],
"keys": null,
"path": "src/pages/meta/invitation/[invitation_code].tsx",
"selectors": null
}
] | 713 |
[
{
"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 with origin 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 \"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 \"imports\"\n ],\n \"path\": \"supabase/functions/facebook-page-details/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 \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.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 \"useFacebookPageApi\",\n \"fetchPageDetails\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-facebook-page-api.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 \"fetchVerificationStatus\"\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 \"handleFacebookSubmit\",\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
|
linked accounts verification
|
{
"changed": [
"src/components/facebook/FacebookPageForm.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": [
"imports"
],
"path": "supabase/functions/verify-phone/deno.json",
"selectors": null
},
{
"functions": null,
"keys": [
"imports"
],
"path": "supabase/functions/facebook-page-details/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": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.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": [
"useFacebookPageApi",
"fetchPageDetails"
],
"keys": null,
"path": "src/hooks/use-facebook-page-api.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",
"fetchVerificationStatus"
],
"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",
"handleFacebookSubmit",
"handleSetPassword"
],
"keys": null,
"path": "src/pages/meta/invitation/[invitation_code].tsx",
"selectors": null
}
] | 714 |
[
{
"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:**\nlinked accounts 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 \"imports\"\n ],\n \"path\": \"supabase/functions/verify-phone/deno.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"imports\"\n ],\n \"path\": \"supabase/functions/facebook-page-details/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 \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.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 \"useFacebookPageApi\",\n \"fetchPageDetails\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-facebook-page-api.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 \"fetchVerificationStatus\"\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 \"handleFacebookSubmit\",\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/facebook/FacebookPageForm.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
gmrdaniel/grm-meta
|
rename env variable
|
{
"changed": [
"supabase/functions/facebook-page-details/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": [
"imports"
],
"path": "supabase/functions/verify-phone/deno.json",
"selectors": null
},
{
"functions": null,
"keys": [
"imports"
],
"path": "supabase/functions/facebook-page-details/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": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.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": [
"useFacebookPageApi",
"fetchPageDetails"
],
"keys": null,
"path": "src/hooks/use-facebook-page-api.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",
"fetchVerificationStatus"
],
"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",
"handleFacebookSubmit",
"handleSetPassword"
],
"keys": null,
"path": "src/pages/meta/invitation/[invitation_code].tsx",
"selectors": null
}
] | 715 |
[
{
"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:**\nrename env variable\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 \"imports\"\n ],\n \"path\": \"supabase/functions/facebook-page-details/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 \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.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 \"useFacebookPageApi\",\n \"fetchPageDetails\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-facebook-page-api.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 \"fetchVerificationStatus\"\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 \"handleFacebookSubmit\",\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/facebook-page-details/index.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
gmrdaniel/grm-meta
|
rename env variable
|
{
"changed": [
"supabase/functions/facebook-page-details/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": [
"imports"
],
"path": "supabase/functions/verify-phone/deno.json",
"selectors": null
},
{
"functions": null,
"keys": [
"imports"
],
"path": "supabase/functions/facebook-page-details/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": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.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": [
"useFacebookPageApi",
"fetchPageDetails"
],
"keys": null,
"path": "src/hooks/use-facebook-page-api.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",
"fetchVerificationStatus"
],
"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",
"handleFacebookSubmit",
"handleSetPassword"
],
"keys": null,
"path": "src/pages/meta/invitation/[invitation_code].tsx",
"selectors": null
}
] | 716 |
[
{
"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:**\nrename env variable\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 \"imports\"\n ],\n \"path\": \"supabase/functions/facebook-page-details/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 \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.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 \"useFacebookPageApi\",\n \"fetchPageDetails\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-facebook-page-api.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 \"fetchVerificationStatus\"\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 \"handleFacebookSubmit\",\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/facebook-page-details/index.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
gmrdaniel/grm-meta
|
update edge function to return a json
|
{
"changed": [
"src/components/facebook/FacebookPageForm.tsx",
"src/pages/meta/invitation/[invitation_code].tsx",
"src/services/facebook/fetchFacebookPageDetails.ts",
"src/utils/validationUtils.ts",
"supabase/functions/facebook-page-details/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": [
"imports"
],
"path": "supabase/functions/verify-phone/deno.json",
"selectors": null
},
{
"functions": null,
"keys": [
"imports"
],
"path": "supabase/functions/facebook-page-details/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": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.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": [
"useFacebookPageApi",
"fetchPageDetails"
],
"keys": null,
"path": "src/hooks/use-facebook-page-api.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",
"fetchVerificationStatus"
],
"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",
"handleFacebookSubmit",
"handleSetPassword"
],
"keys": null,
"path": "src/pages/meta/invitation/[invitation_code].tsx",
"selectors": null
}
] | 717 |
[
{
"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 edge function to return a json\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 \"imports\"\n ],\n \"path\": \"supabase/functions/facebook-page-details/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 \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.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 \"useFacebookPageApi\",\n \"fetchPageDetails\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-facebook-page-api.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 \"fetchVerificationStatus\"\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 \"handleFacebookSubmit\",\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/facebook/FacebookPageForm.tsx\",\n \"src/pages/meta/invitation/[invitation_code].tsx\",\n \"src/services/facebook/fetchFacebookPageDetails.ts\",\n \"src/utils/validationUtils.ts\",\n \"supabase/functions/facebook-page-details/index.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
gmrdaniel/grm-meta
|
Merge pull request #39 from gmrdaniel/feat/validate-facebook-profile
Feat/validate facebook profile
|
{
"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": [
"imports"
],
"path": "supabase/functions/facebook-page-details/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": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.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": [
"useFacebookPageApi",
"fetchPageDetails"
],
"keys": null,
"path": "src/hooks/use-facebook-page-api.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",
"fetchVerificationStatus"
],
"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",
"handleFacebookSubmit",
"handleSetPassword"
],
"keys": null,
"path": "src/pages/meta/invitation/[invitation_code].tsx",
"selectors": null
}
] | 718 |
[
{
"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 #39 from gmrdaniel/feat/validate-facebook-profile\n\nFeat/validate facebook profile\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 \"imports\"\n ],\n \"path\": \"supabase/functions/facebook-page-details/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 \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.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 \"useFacebookPageApi\",\n \"fetchPageDetails\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-facebook-page-api.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 \"fetchVerificationStatus\"\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 \"handleFacebookSubmit\",\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
|
last commit
|
{
"changed": [
"src/services/facebook/fetchFacebookPageDetails.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": [
"imports"
],
"path": "supabase/functions/verify-phone/deno.json",
"selectors": null
},
{
"functions": null,
"keys": [
"imports"
],
"path": "supabase/functions/facebook-page-details/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": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.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": [
"useFacebookPageApi",
"fetchPageDetails"
],
"keys": null,
"path": "src/hooks/use-facebook-page-api.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",
"fetchVerificationStatus"
],
"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",
"handleFacebookSubmit",
"handleSetPassword"
],
"keys": null,
"path": "src/pages/meta/invitation/[invitation_code].tsx",
"selectors": null
}
] | 719 |
[
{
"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:**\nlast commit\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"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 \"imports\"\n ],\n \"path\": \"supabase/functions/facebook-page-details/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 \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.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 \"useFacebookPageApi\",\n \"fetchPageDetails\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-facebook-page-api.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 \"fetchVerificationStatus\"\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 \"handleFacebookSubmit\",\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/facebook/fetchFacebookPageDetails.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
gmrdaniel/grm-meta
|
Merge pull request #40 from gmrdaniel/feat/validate-facebook-profile
last commit
|
{
"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": [
"imports"
],
"path": "supabase/functions/facebook-page-details/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": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.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": [
"useFacebookPageApi",
"fetchPageDetails"
],
"keys": null,
"path": "src/hooks/use-facebook-page-api.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",
"fetchVerificationStatus"
],
"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",
"handleFacebookSubmit",
"handleSetPassword"
],
"keys": null,
"path": "src/pages/meta/invitation/[invitation_code].tsx",
"selectors": null
}
] | 720 |
[
{
"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 #40 from gmrdaniel/feat/validate-facebook-profile\n\nlast commit\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"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 \"imports\"\n ],\n \"path\": \"supabase/functions/facebook-page-details/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 \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.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 \"useFacebookPageApi\",\n \"fetchPageDetails\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-facebook-page-api.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 \"fetchVerificationStatus\"\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 \"handleFacebookSubmit\",\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
|
hotfix
|
{
"changed": [
"src/pages/creator/Profile.tsx",
"src/services/facebook/fetchFacebookPageDetails.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": [
"imports"
],
"path": "supabase/functions/verify-phone/deno.json",
"selectors": null
},
{
"functions": null,
"keys": [
"imports"
],
"path": "supabase/functions/facebook-page-details/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": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.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": [
"useFacebookPageApi",
"fetchPageDetails"
],
"keys": null,
"path": "src/hooks/use-facebook-page-api.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",
"fetchVerificationStatus"
],
"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",
"handleFacebookSubmit",
"handleSetPassword"
],
"keys": null,
"path": "src/pages/meta/invitation/[invitation_code].tsx",
"selectors": null
}
] | 721 |
[
{
"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:**\nhotfix\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 \"imports\"\n ],\n \"path\": \"supabase/functions/facebook-page-details/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 \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.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 \"useFacebookPageApi\",\n \"fetchPageDetails\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-facebook-page-api.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 \"fetchVerificationStatus\"\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 \"handleFacebookSubmit\",\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/pages/creator/Profile.tsx\",\n \"src/services/facebook/fetchFacebookPageDetails.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
gmrdaniel/grm-meta
|
Merge pull request #42 from gmrdaniel/feat/validate-facebook-profile
hotfix
|
{
"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": [
"imports"
],
"path": "supabase/functions/facebook-page-details/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": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.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": [
"useFacebookPageApi",
"fetchPageDetails"
],
"keys": null,
"path": "src/hooks/use-facebook-page-api.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",
"fetchVerificationStatus"
],
"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",
"handleFacebookSubmit",
"handleSetPassword"
],
"keys": null,
"path": "src/pages/meta/invitation/[invitation_code].tsx",
"selectors": null
}
] | 722 |
[
{
"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 #42 from gmrdaniel/feat/validate-facebook-profile\n\nhotfix\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 \"imports\"\n ],\n \"path\": \"supabase/functions/facebook-page-details/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 \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.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 \"useFacebookPageApi\",\n \"fetchPageDetails\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-facebook-page-api.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 \"fetchVerificationStatus\"\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 \"handleFacebookSubmit\",\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}"
}
] |
MarziaMahjabin/costcalculator_fprm
|
Use tech stack vite_react_shadcn_ts
[skip gpt_engineer]
|
{
"changed": [],
"created": [
".gitignore",
"README.md",
"bun.lockb",
"components.json",
"eslint.config.js",
"index.html",
"package-lock.json",
"package.json",
"postcss.config.js",
"public/favicon.ico",
"public/placeholder.svg",
"public/robots.txt",
"src/App.css",
"src/App.tsx",
"src/components/ui/accordion.tsx",
"src/components/ui/alert-dialog.tsx",
"src/components/ui/alert.tsx",
"src/components/ui/aspect-ratio.tsx",
"src/components/ui/avatar.tsx",
"src/components/ui/badge.tsx",
"src/components/ui/breadcrumb.tsx",
"src/components/ui/button.tsx",
"src/components/ui/calendar.tsx",
"src/components/ui/card.tsx",
"src/components/ui/carousel.tsx",
"src/components/ui/chart.tsx",
"src/components/ui/checkbox.tsx",
"src/components/ui/collapsible.tsx",
"src/components/ui/command.tsx",
"src/components/ui/context-menu.tsx",
"src/components/ui/dialog.tsx",
"src/components/ui/drawer.tsx",
"src/components/ui/dropdown-menu.tsx",
"src/components/ui/form.tsx",
"src/components/ui/hover-card.tsx",
"src/components/ui/input-otp.tsx",
"src/components/ui/input.tsx",
"src/components/ui/label.tsx",
"src/components/ui/menubar.tsx",
"src/components/ui/navigation-menu.tsx",
"src/components/ui/pagination.tsx",
"src/components/ui/popover.tsx",
"src/components/ui/progress.tsx",
"src/components/ui/radio-group.tsx",
"src/components/ui/resizable.tsx",
"src/components/ui/scroll-area.tsx",
"src/components/ui/select.tsx",
"src/components/ui/separator.tsx",
"src/components/ui/sheet.tsx",
"src/components/ui/sidebar.tsx",
"src/components/ui/skeleton.tsx",
"src/components/ui/slider.tsx",
"src/components/ui/sonner.tsx",
"src/components/ui/switch.tsx",
"src/components/ui/table.tsx",
"src/components/ui/tabs.tsx",
"src/components/ui/textarea.tsx",
"src/components/ui/toast.tsx",
"src/components/ui/toaster.tsx",
"src/components/ui/toggle-group.tsx",
"src/components/ui/toggle.tsx",
"src/components/ui/tooltip.tsx",
"src/components/ui/use-toast.ts",
"src/hooks/use-mobile.tsx",
"src/hooks/use-toast.ts",
"src/index.css",
"src/lib/utils.ts",
"src/main.tsx",
"src/pages/Index.tsx",
"src/pages/NotFound.tsx",
"src/vite-env.d.ts",
"tailwind.config.ts",
"tsconfig.app.json",
"tsconfig.json",
"tsconfig.node.json",
"vite.config.ts"
],
"deleted": []
}
|
[] | 0 |
[
{
"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:**\nUse tech stack vite_react_shadcn_ts\n[skip gpt_engineer]\n\n**File Tree Before:**\n[]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [],\n \"created\": [\n \".gitignore\",\n \"README.md\",\n \"bun.lockb\",\n \"components.json\",\n \"eslint.config.js\",\n \"index.html\",\n \"package-lock.json\",\n \"package.json\",\n \"postcss.config.js\",\n \"public/favicon.ico\",\n \"public/placeholder.svg\",\n \"public/robots.txt\",\n \"src/App.css\",\n \"src/App.tsx\",\n \"src/components/ui/accordion.tsx\",\n \"src/components/ui/alert-dialog.tsx\",\n \"src/components/ui/alert.tsx\",\n \"src/components/ui/aspect-ratio.tsx\",\n \"src/components/ui/avatar.tsx\",\n \"src/components/ui/badge.tsx\",\n \"src/components/ui/breadcrumb.tsx\",\n \"src/components/ui/button.tsx\",\n \"src/components/ui/calendar.tsx\",\n \"src/components/ui/card.tsx\",\n \"src/components/ui/carousel.tsx\",\n \"src/components/ui/chart.tsx\",\n \"src/components/ui/checkbox.tsx\",\n \"src/components/ui/collapsible.tsx\",\n \"src/components/ui/command.tsx\",\n \"src/components/ui/context-menu.tsx\",\n \"src/components/ui/dialog.tsx\",\n \"src/components/ui/drawer.tsx\",\n \"src/components/ui/dropdown-menu.tsx\",\n \"src/components/ui/form.tsx\",\n \"src/components/ui/hover-card.tsx\",\n \"src/components/ui/input-otp.tsx\",\n \"src/components/ui/input.tsx\",\n \"src/components/ui/label.tsx\",\n \"src/components/ui/menubar.tsx\",\n \"src/components/ui/navigation-menu.tsx\",\n \"src/components/ui/pagination.tsx\",\n \"src/components/ui/popover.tsx\",\n \"src/components/ui/progress.tsx\",\n \"src/components/ui/radio-group.tsx\",\n \"src/components/ui/resizable.tsx\",\n \"src/components/ui/scroll-area.tsx\",\n \"src/components/ui/select.tsx\",\n \"src/components/ui/separator.tsx\",\n \"src/components/ui/sheet.tsx\",\n \"src/components/ui/sidebar.tsx\",\n \"src/components/ui/skeleton.tsx\",\n \"src/components/ui/slider.tsx\",\n \"src/components/ui/sonner.tsx\",\n \"src/components/ui/switch.tsx\",\n \"src/components/ui/table.tsx\",\n \"src/components/ui/tabs.tsx\",\n \"src/components/ui/textarea.tsx\",\n \"src/components/ui/toast.tsx\",\n \"src/components/ui/toaster.tsx\",\n \"src/components/ui/toggle-group.tsx\",\n \"src/components/ui/toggle.tsx\",\n \"src/components/ui/tooltip.tsx\",\n \"src/components/ui/use-toast.ts\",\n \"src/hooks/use-mobile.tsx\",\n \"src/hooks/use-toast.ts\",\n \"src/index.css\",\n \"src/lib/utils.ts\",\n \"src/main.tsx\",\n \"src/pages/Index.tsx\",\n \"src/pages/NotFound.tsx\",\n \"src/vite-env.d.ts\",\n \"tailwind.config.ts\",\n \"tsconfig.app.json\",\n \"tsconfig.json\",\n \"tsconfig.node.json\",\n \"vite.config.ts\"\n ],\n \"deleted\": []\n}"
}
] |
MarziaMahjabin/costcalculator_fprm
|
Import Figma design from Builder
Imported from Builder.io to Lovable
|
{
"changed": [
"src/pages/Index.tsx"
],
"created": [
"src/components/industry/IndustryCard.tsx",
"src/components/industry/IndustryIcons.tsx",
"src/components/industry/SummaryCard.tsx",
"src/components/layout/Footer.tsx",
"src/components/layout/Header.tsx",
"src/components/ui/ProgressBar.tsx"
],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".dark",
"root",
"base",
"body"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.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": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 1 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nImport Figma design from Builder\n\nImported from Builder.io to Lovable\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".dark\",\n \"root\",\n \"base\",\n \"body\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.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 \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/pages/Index.tsx\"\n ],\n \"created\": [\n \"src/components/industry/IndustryCard.tsx\",\n \"src/components/industry/IndustryIcons.tsx\",\n \"src/components/industry/SummaryCard.tsx\",\n \"src/components/layout/Footer.tsx\",\n \"src/components/layout/Header.tsx\",\n \"src/components/ui/ProgressBar.tsx\"\n ],\n \"deleted\": []\n}"
}
] |
fajri89/madrasah-money-manager
|
Use tech stack vite_react_shadcn_ts
[skip gpt_engineer]
|
{
"changed": [],
"created": [
".gitignore",
"README.md",
"bun.lockb",
"components.json",
"eslint.config.js",
"index.html",
"package-lock.json",
"package.json",
"postcss.config.js",
"public/favicon.ico",
"public/og-image.png",
"public/placeholder.svg",
"src/App.css",
"src/App.tsx",
"src/components/ui/accordion.tsx",
"src/components/ui/alert-dialog.tsx",
"src/components/ui/alert.tsx",
"src/components/ui/aspect-ratio.tsx",
"src/components/ui/avatar.tsx",
"src/components/ui/badge.tsx",
"src/components/ui/breadcrumb.tsx",
"src/components/ui/button.tsx",
"src/components/ui/calendar.tsx",
"src/components/ui/card.tsx",
"src/components/ui/carousel.tsx",
"src/components/ui/chart.tsx",
"src/components/ui/checkbox.tsx",
"src/components/ui/collapsible.tsx",
"src/components/ui/command.tsx",
"src/components/ui/context-menu.tsx",
"src/components/ui/dialog.tsx",
"src/components/ui/drawer.tsx",
"src/components/ui/dropdown-menu.tsx",
"src/components/ui/form.tsx",
"src/components/ui/hover-card.tsx",
"src/components/ui/input-otp.tsx",
"src/components/ui/input.tsx",
"src/components/ui/label.tsx",
"src/components/ui/menubar.tsx",
"src/components/ui/navigation-menu.tsx",
"src/components/ui/pagination.tsx",
"src/components/ui/popover.tsx",
"src/components/ui/progress.tsx",
"src/components/ui/radio-group.tsx",
"src/components/ui/resizable.tsx",
"src/components/ui/scroll-area.tsx",
"src/components/ui/select.tsx",
"src/components/ui/separator.tsx",
"src/components/ui/sheet.tsx",
"src/components/ui/sidebar.tsx",
"src/components/ui/skeleton.tsx",
"src/components/ui/slider.tsx",
"src/components/ui/sonner.tsx",
"src/components/ui/switch.tsx",
"src/components/ui/table.tsx",
"src/components/ui/tabs.tsx",
"src/components/ui/textarea.tsx",
"src/components/ui/toast.tsx",
"src/components/ui/toaster.tsx",
"src/components/ui/toggle-group.tsx",
"src/components/ui/toggle.tsx",
"src/components/ui/tooltip.tsx",
"src/components/ui/use-toast.ts",
"src/hooks/use-mobile.tsx",
"src/hooks/use-toast.ts",
"src/index.css",
"src/lib/utils.ts",
"src/main.tsx",
"src/pages/Index.tsx",
"src/pages/NotFound.tsx",
"src/vite-env.d.ts",
"tailwind.config.ts",
"tsconfig.app.json",
"tsconfig.json",
"tsconfig.node.json",
"vite.config.ts"
],
"deleted": []
}
|
[] | 0 |
[
{
"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:**\nUse tech stack vite_react_shadcn_ts\n[skip gpt_engineer]\n\n**File Tree Before:**\n[]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [],\n \"created\": [\n \".gitignore\",\n \"README.md\",\n \"bun.lockb\",\n \"components.json\",\n \"eslint.config.js\",\n \"index.html\",\n \"package-lock.json\",\n \"package.json\",\n \"postcss.config.js\",\n \"public/favicon.ico\",\n \"public/og-image.png\",\n \"public/placeholder.svg\",\n \"src/App.css\",\n \"src/App.tsx\",\n \"src/components/ui/accordion.tsx\",\n \"src/components/ui/alert-dialog.tsx\",\n \"src/components/ui/alert.tsx\",\n \"src/components/ui/aspect-ratio.tsx\",\n \"src/components/ui/avatar.tsx\",\n \"src/components/ui/badge.tsx\",\n \"src/components/ui/breadcrumb.tsx\",\n \"src/components/ui/button.tsx\",\n \"src/components/ui/calendar.tsx\",\n \"src/components/ui/card.tsx\",\n \"src/components/ui/carousel.tsx\",\n \"src/components/ui/chart.tsx\",\n \"src/components/ui/checkbox.tsx\",\n \"src/components/ui/collapsible.tsx\",\n \"src/components/ui/command.tsx\",\n \"src/components/ui/context-menu.tsx\",\n \"src/components/ui/dialog.tsx\",\n \"src/components/ui/drawer.tsx\",\n \"src/components/ui/dropdown-menu.tsx\",\n \"src/components/ui/form.tsx\",\n \"src/components/ui/hover-card.tsx\",\n \"src/components/ui/input-otp.tsx\",\n \"src/components/ui/input.tsx\",\n \"src/components/ui/label.tsx\",\n \"src/components/ui/menubar.tsx\",\n \"src/components/ui/navigation-menu.tsx\",\n \"src/components/ui/pagination.tsx\",\n \"src/components/ui/popover.tsx\",\n \"src/components/ui/progress.tsx\",\n \"src/components/ui/radio-group.tsx\",\n \"src/components/ui/resizable.tsx\",\n \"src/components/ui/scroll-area.tsx\",\n \"src/components/ui/select.tsx\",\n \"src/components/ui/separator.tsx\",\n \"src/components/ui/sheet.tsx\",\n \"src/components/ui/sidebar.tsx\",\n \"src/components/ui/skeleton.tsx\",\n \"src/components/ui/slider.tsx\",\n \"src/components/ui/sonner.tsx\",\n \"src/components/ui/switch.tsx\",\n \"src/components/ui/table.tsx\",\n \"src/components/ui/tabs.tsx\",\n \"src/components/ui/textarea.tsx\",\n \"src/components/ui/toast.tsx\",\n \"src/components/ui/toaster.tsx\",\n \"src/components/ui/toggle-group.tsx\",\n \"src/components/ui/toggle.tsx\",\n \"src/components/ui/tooltip.tsx\",\n \"src/components/ui/use-toast.ts\",\n \"src/hooks/use-mobile.tsx\",\n \"src/hooks/use-toast.ts\",\n \"src/index.css\",\n \"src/lib/utils.ts\",\n \"src/main.tsx\",\n \"src/pages/Index.tsx\",\n \"src/pages/NotFound.tsx\",\n \"src/vite-env.d.ts\",\n \"tailwind.config.ts\",\n \"tsconfig.app.json\",\n \"tsconfig.json\",\n \"tsconfig.node.json\",\n \"vite.config.ts\"\n ],\n \"deleted\": []\n}"
}
] |
fajri89/madrasah-money-manager
|
Implement basic finance application structure
This commit implements the basic structure for a finance application for Madrasah At-Tahzib Kekait, including database connection, PHP folder structure, mobile-first UI, initial WhatsApp API integration, and branding.
|
{
"changed": [
"index.html",
"package-lock.json",
"package.json",
"src/App.tsx",
"src/index.css",
"src/pages/Index.tsx",
"src/pages/NotFound.tsx",
"tailwind.config.ts"
],
"created": [
"src/components/Dashboard.tsx",
"src/components/FinanceCard.tsx",
"src/components/Header.tsx",
"src/components/Navigation.tsx",
"src/components/StudentPayment.tsx",
"src/components/TransactionHistory.tsx",
"src/components/WhatsAppNotification.tsx",
"src/utils/api.ts",
"src/utils/transitions.ts"
],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".dark",
"root",
"base",
"body"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.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": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 1 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nImplement basic finance application structure\n\nThis commit implements the basic structure for a finance application for Madrasah At-Tahzib Kekait, including database connection, PHP folder structure, mobile-first UI, initial WhatsApp API integration, and branding.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".dark\",\n \"root\",\n \"base\",\n \"body\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.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 \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"index.html\",\n \"package-lock.json\",\n \"package.json\",\n \"src/App.tsx\",\n \"src/index.css\",\n \"src/pages/Index.tsx\",\n \"src/pages/NotFound.tsx\",\n \"tailwind.config.ts\"\n ],\n \"created\": [\n \"src/components/Dashboard.tsx\",\n \"src/components/FinanceCard.tsx\",\n \"src/components/Header.tsx\",\n \"src/components/Navigation.tsx\",\n \"src/components/StudentPayment.tsx\",\n \"src/components/TransactionHistory.tsx\",\n \"src/components/WhatsAppNotification.tsx\",\n \"src/utils/api.ts\",\n \"src/utils/transitions.ts\"\n ],\n \"deleted\": []\n}"
}
] |
fajri89/madrasah-money-manager
|
Create initial dashboard layout
Create a basic dashboard layout with charts for income, expenses, and SPP payments.
|
{
"changed": [
"src/App.tsx",
"src/pages/Index.tsx",
"src/utils/api.ts"
],
"created": [
"src/components/FinancialCharts.tsx",
"src/components/FinancialSummary.tsx"
],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".animate-in",
"webkit-scrollbar",
".com",
".card-hover",
"components",
"slideInBottom",
"webkit-scrollbar-thumb",
"from",
"to",
"base",
".googleapis",
"fadeIn",
"root",
"hover",
"webkit-scrollbar-track",
"body",
".glass-card",
".slide-in-bottom",
".dark"
]
},
{
"functions": [
"App",
"toggleMenu"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"Dashboard",
"fetchData",
"getRandomTrend"
],
"keys": null,
"path": "src/components/Dashboard.tsx",
"selectors": null
},
{
"functions": [
"WhatsAppNotification",
"handleSubmit"
],
"keys": null,
"path": "src/components/WhatsAppNotification.tsx",
"selectors": null
},
{
"functions": [
"Navigation",
"handleOverlayClick",
"renderIcon"
],
"keys": null,
"path": "src/components/Navigation.tsx",
"selectors": null
},
{
"functions": [
"StudentPayment",
"fetchData",
"getStatusColor",
"sendWhatsAppReminder"
],
"keys": null,
"path": "src/components/StudentPayment.tsx",
"selectors": null
},
{
"functions": [
"TransactionHistory",
"fetchData"
],
"keys": null,
"path": "src/components/TransactionHistory.tsx",
"selectors": null
},
{
"functions": [
"FinanceCard",
"renderIcon"
],
"keys": null,
"path": "src/components/FinanceCard.tsx",
"selectors": null
},
{
"functions": [
"Header",
"fetchSekolahInfo",
"handleScroll"
],
"keys": null,
"path": "src/components/Header.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": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"formatRupiah",
"formatDate"
],
"keys": null,
"path": "src/utils/api.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 2 |
[
{
"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 initial dashboard layout\n\nCreate a basic dashboard layout with charts for income, expenses, and SPP payments.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".animate-in\",\n \"webkit-scrollbar\",\n \".com\",\n \".card-hover\",\n \"components\",\n \"slideInBottom\",\n \"webkit-scrollbar-thumb\",\n \"from\",\n \"to\",\n \"base\",\n \".googleapis\",\n \"fadeIn\",\n \"root\",\n \"hover\",\n \"webkit-scrollbar-track\",\n \"body\",\n \".glass-card\",\n \".slide-in-bottom\",\n \".dark\"\n ]\n },\n {\n \"functions\": [\n \"App\",\n \"toggleMenu\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Dashboard\",\n \"fetchData\",\n \"getRandomTrend\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WhatsAppNotification\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/WhatsAppNotification.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Navigation\",\n \"handleOverlayClick\",\n \"renderIcon\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Navigation.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPayment\",\n \"fetchData\",\n \"getStatusColor\",\n \"sendWhatsAppReminder\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StudentPayment.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TransactionHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/TransactionHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinanceCard\",\n \"renderIcon\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinanceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchSekolahInfo\",\n \"handleScroll\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.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 \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatRupiah\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/api.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/App.tsx\",\n \"src/pages/Index.tsx\",\n \"src/utils/api.ts\"\n ],\n \"created\": [\n \"src/components/FinancialCharts.tsx\",\n \"src/components/FinancialSummary.tsx\"\n ],\n \"deleted\": []\n}"
}
] |
fajri89/madrasah-money-manager
|
Implement master menu
Implements master menu for managing school data, student data, class data, and major data. Only accessible by admin. Includes CRUD operations and a responsive, mobile-first UI.
|
{
"changed": [
"src/App.tsx",
"src/components/Navigation.tsx",
"src/utils/api.ts"
],
"created": [
"src/components/master/ClassDataTable.tsx",
"src/components/master/DepartmentDataTable.tsx",
"src/components/master/SchoolDataForm.tsx",
"src/components/master/StudentDataTable.tsx",
"src/pages/MasterData.tsx"
],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".animate-in",
"webkit-scrollbar",
".com",
".card-hover",
"components",
"slideInBottom",
"webkit-scrollbar-thumb",
"from",
"to",
"base",
".googleapis",
"fadeIn",
"root",
"hover",
"webkit-scrollbar-track",
"body",
".glass-card",
".slide-in-bottom",
".dark"
]
},
{
"functions": [
"App",
"toggleMenu"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"Dashboard",
"fetchData",
"getRandomTrend"
],
"keys": null,
"path": "src/components/Dashboard.tsx",
"selectors": null
},
{
"functions": [
"FinancialCharts"
],
"keys": null,
"path": "src/components/FinancialCharts.tsx",
"selectors": null
},
{
"functions": [
"WhatsAppNotification",
"handleSubmit"
],
"keys": null,
"path": "src/components/WhatsAppNotification.tsx",
"selectors": null
},
{
"functions": [
"Navigation",
"handleOverlayClick",
"renderIcon"
],
"keys": null,
"path": "src/components/Navigation.tsx",
"selectors": null
},
{
"functions": [
"StudentPayment",
"fetchData",
"getStatusColor",
"sendWhatsAppReminder"
],
"keys": null,
"path": "src/components/StudentPayment.tsx",
"selectors": null
},
{
"functions": [
"TransactionHistory",
"fetchData"
],
"keys": null,
"path": "src/components/TransactionHistory.tsx",
"selectors": null
},
{
"functions": [
"FinanceCard",
"renderIcon"
],
"keys": null,
"path": "src/components/FinanceCard.tsx",
"selectors": null
},
{
"functions": [
"Header",
"fetchSekolahInfo",
"handleScroll"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"FinancialSummary"
],
"keys": null,
"path": "src/components/FinancialSummary.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": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"getMonthlySummary",
"formatRupiah",
"formatDate"
],
"keys": null,
"path": "src/utils/api.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 3 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nImplement master menu\n\nImplements master menu for managing school data, student data, class data, and major data. Only accessible by admin. Includes CRUD operations and a responsive, mobile-first UI.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".animate-in\",\n \"webkit-scrollbar\",\n \".com\",\n \".card-hover\",\n \"components\",\n \"slideInBottom\",\n \"webkit-scrollbar-thumb\",\n \"from\",\n \"to\",\n \"base\",\n \".googleapis\",\n \"fadeIn\",\n \"root\",\n \"hover\",\n \"webkit-scrollbar-track\",\n \"body\",\n \".glass-card\",\n \".slide-in-bottom\",\n \".dark\"\n ]\n },\n {\n \"functions\": [\n \"App\",\n \"toggleMenu\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Dashboard\",\n \"fetchData\",\n \"getRandomTrend\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialCharts\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinancialCharts.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WhatsAppNotification\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/WhatsAppNotification.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Navigation\",\n \"handleOverlayClick\",\n \"renderIcon\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Navigation.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPayment\",\n \"fetchData\",\n \"getStatusColor\",\n \"sendWhatsAppReminder\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StudentPayment.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TransactionHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/TransactionHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinanceCard\",\n \"renderIcon\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinanceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchSekolahInfo\",\n \"handleScroll\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialSummary\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinancialSummary.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 \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getMonthlySummary\",\n \"formatRupiah\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/api.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\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/Navigation.tsx\",\n \"src/utils/api.ts\"\n ],\n \"created\": [\n \"src/components/master/ClassDataTable.tsx\",\n \"src/components/master/DepartmentDataTable.tsx\",\n \"src/components/master/SchoolDataForm.tsx\",\n \"src/components/master/StudentDataTable.tsx\",\n \"src/pages/MasterData.tsx\"\n ],\n \"deleted\": []\n}"
}
] |
fajri89/madrasah-money-manager
|
Implement pemasukan dan pengeluaran menu
Implement pemasukan dan pengeluaran menu with form inputs, database storage, role-based validation, and WhatsApp notification.
|
{
"changed": [
"src/App.tsx",
"src/components/Navigation.tsx",
"src/utils/api.ts"
],
"created": [
"src/components/finance/ExpenseForm.tsx",
"src/components/finance/FinancialHistory.tsx",
"src/components/finance/IncomeForm.tsx",
"src/pages/Finance.tsx"
],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".animate-in",
"webkit-scrollbar",
".com",
".card-hover",
"components",
"slideInBottom",
"webkit-scrollbar-thumb",
"from",
"to",
"base",
".googleapis",
"fadeIn",
"root",
"hover",
"webkit-scrollbar-track",
"body",
".glass-card",
".slide-in-bottom",
".dark"
]
},
{
"functions": [
"App",
"toggleMenu"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"Dashboard",
"fetchData",
"getRandomTrend"
],
"keys": null,
"path": "src/components/Dashboard.tsx",
"selectors": null
},
{
"functions": [
"FinancialCharts"
],
"keys": null,
"path": "src/components/FinancialCharts.tsx",
"selectors": null
},
{
"functions": [
"WhatsAppNotification",
"handleSubmit"
],
"keys": null,
"path": "src/components/WhatsAppNotification.tsx",
"selectors": null
},
{
"functions": [
"Navigation",
"handleOverlayClick",
"renderIcon"
],
"keys": null,
"path": "src/components/Navigation.tsx",
"selectors": null
},
{
"functions": [
"StudentPayment",
"fetchData",
"getStatusColor",
"sendWhatsAppReminder"
],
"keys": null,
"path": "src/components/StudentPayment.tsx",
"selectors": null
},
{
"functions": [
"TransactionHistory",
"fetchData"
],
"keys": null,
"path": "src/components/TransactionHistory.tsx",
"selectors": null
},
{
"functions": [
"FinanceCard",
"renderIcon"
],
"keys": null,
"path": "src/components/FinanceCard.tsx",
"selectors": null
},
{
"functions": [
"Header",
"fetchSekolahInfo",
"handleScroll"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"FinancialSummary"
],
"keys": null,
"path": "src/components/FinancialSummary.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": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"StudentDataTable",
"fetchData",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/StudentDataTable.tsx",
"selectors": null
},
{
"functions": [
"ClassDataTable",
"fetchClasses",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/ClassDataTable.tsx",
"selectors": null
},
{
"functions": [
"DepartmentDataTable",
"fetchDepartments",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/DepartmentDataTable.tsx",
"selectors": null
},
{
"functions": [
"SchoolDataForm",
"fetchSchoolData",
"onSubmit"
],
"keys": null,
"path": "src/components/master/SchoolDataForm.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"getMonthlySummary",
"formatRupiah",
"formatDate"
],
"keys": null,
"path": "src/utils/api.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"MasterData"
],
"keys": null,
"path": "src/pages/MasterData.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 4 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nImplement pemasukan dan pengeluaran menu\n\nImplement pemasukan dan pengeluaran menu with form inputs, database storage, role-based validation, and WhatsApp notification.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".animate-in\",\n \"webkit-scrollbar\",\n \".com\",\n \".card-hover\",\n \"components\",\n \"slideInBottom\",\n \"webkit-scrollbar-thumb\",\n \"from\",\n \"to\",\n \"base\",\n \".googleapis\",\n \"fadeIn\",\n \"root\",\n \"hover\",\n \"webkit-scrollbar-track\",\n \"body\",\n \".glass-card\",\n \".slide-in-bottom\",\n \".dark\"\n ]\n },\n {\n \"functions\": [\n \"App\",\n \"toggleMenu\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Dashboard\",\n \"fetchData\",\n \"getRandomTrend\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialCharts\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinancialCharts.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WhatsAppNotification\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/WhatsAppNotification.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Navigation\",\n \"handleOverlayClick\",\n \"renderIcon\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Navigation.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPayment\",\n \"fetchData\",\n \"getStatusColor\",\n \"sendWhatsAppReminder\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StudentPayment.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TransactionHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/TransactionHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinanceCard\",\n \"renderIcon\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinanceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchSekolahInfo\",\n \"handleScroll\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialSummary\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinancialSummary.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 \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentDataTable\",\n \"fetchData\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/StudentDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ClassDataTable\",\n \"fetchClasses\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/ClassDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DepartmentDataTable\",\n \"fetchDepartments\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/DepartmentDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SchoolDataForm\",\n \"fetchSchoolData\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/SchoolDataForm.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 \"getMonthlySummary\",\n \"formatRupiah\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/api.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MasterData\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/MasterData.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\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/Navigation.tsx\",\n \"src/utils/api.ts\"\n ],\n \"created\": [\n \"src/components/finance/ExpenseForm.tsx\",\n \"src/components/finance/FinancialHistory.tsx\",\n \"src/components/finance/IncomeForm.tsx\",\n \"src/pages/Finance.tsx\"\n ],\n \"deleted\": []\n}"
}
] |
fajri89/madrasah-money-manager
|
Add SPP management feature
Implements SPP payment input form, database storage, role validation, and WhatsApp notifications.
|
{
"changed": [
"src/App.tsx",
"src/components/Navigation.tsx"
],
"created": [
"src/components/student-payment/StudentPaymentForm.tsx",
"src/components/student-payment/StudentPaymentHistory.tsx",
"src/pages/StudentPayment.tsx"
],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".animate-in",
"webkit-scrollbar",
".com",
".card-hover",
"components",
"slideInBottom",
"webkit-scrollbar-thumb",
"from",
"to",
"base",
".googleapis",
"fadeIn",
"root",
"hover",
"webkit-scrollbar-track",
"body",
".glass-card",
".slide-in-bottom",
".dark"
]
},
{
"functions": [
"App",
"toggleMenu"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"Dashboard",
"fetchData",
"getRandomTrend"
],
"keys": null,
"path": "src/components/Dashboard.tsx",
"selectors": null
},
{
"functions": [
"FinancialCharts"
],
"keys": null,
"path": "src/components/FinancialCharts.tsx",
"selectors": null
},
{
"functions": [
"WhatsAppNotification",
"handleSubmit"
],
"keys": null,
"path": "src/components/WhatsAppNotification.tsx",
"selectors": null
},
{
"functions": [
"handleRouteChange"
],
"keys": null,
"path": "src/components/Navigation.tsx",
"selectors": null
},
{
"functions": [
"StudentPayment",
"fetchData",
"getStatusColor",
"sendWhatsAppReminder"
],
"keys": null,
"path": "src/components/StudentPayment.tsx",
"selectors": null
},
{
"functions": [
"TransactionHistory",
"fetchData"
],
"keys": null,
"path": "src/components/TransactionHistory.tsx",
"selectors": null
},
{
"functions": [
"FinanceCard",
"renderIcon"
],
"keys": null,
"path": "src/components/FinanceCard.tsx",
"selectors": null
},
{
"functions": [
"Header",
"fetchSekolahInfo",
"handleScroll"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"FinancialSummary"
],
"keys": null,
"path": "src/components/FinancialSummary.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": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"StudentDataTable",
"fetchData",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/StudentDataTable.tsx",
"selectors": null
},
{
"functions": [
"ClassDataTable",
"fetchClasses",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/ClassDataTable.tsx",
"selectors": null
},
{
"functions": [
"DepartmentDataTable",
"fetchDepartments",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/DepartmentDataTable.tsx",
"selectors": null
},
{
"functions": [
"SchoolDataForm",
"fetchSchoolData",
"onSubmit"
],
"keys": null,
"path": "src/components/master/SchoolDataForm.tsx",
"selectors": null
},
{
"functions": [
"FinancialHistory",
"fetchData"
],
"keys": null,
"path": "src/components/finance/FinancialHistory.tsx",
"selectors": null
},
{
"functions": [
"ExpenseForm",
"onSubmit"
],
"keys": null,
"path": "src/components/finance/ExpenseForm.tsx",
"selectors": null
},
{
"functions": [
"IncomeForm",
"onSubmit"
],
"keys": null,
"path": "src/components/finance/IncomeForm.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"getMonthlySummary",
"formatRupiah",
"formatDate"
],
"keys": null,
"path": "src/utils/api.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"MasterData"
],
"keys": null,
"path": "src/pages/MasterData.tsx",
"selectors": null
},
{
"functions": [
"Finance",
"checkUserRole"
],
"keys": null,
"path": "src/pages/Finance.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 5 |
[
{
"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 SPP management feature\n\nImplements SPP payment input form, database storage, role validation, and WhatsApp notifications.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".animate-in\",\n \"webkit-scrollbar\",\n \".com\",\n \".card-hover\",\n \"components\",\n \"slideInBottom\",\n \"webkit-scrollbar-thumb\",\n \"from\",\n \"to\",\n \"base\",\n \".googleapis\",\n \"fadeIn\",\n \"root\",\n \"hover\",\n \"webkit-scrollbar-track\",\n \"body\",\n \".glass-card\",\n \".slide-in-bottom\",\n \".dark\"\n ]\n },\n {\n \"functions\": [\n \"App\",\n \"toggleMenu\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Dashboard\",\n \"fetchData\",\n \"getRandomTrend\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialCharts\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinancialCharts.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WhatsAppNotification\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/WhatsAppNotification.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleRouteChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Navigation.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPayment\",\n \"fetchData\",\n \"getStatusColor\",\n \"sendWhatsAppReminder\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StudentPayment.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TransactionHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/TransactionHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinanceCard\",\n \"renderIcon\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinanceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchSekolahInfo\",\n \"handleScroll\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialSummary\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinancialSummary.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 \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentDataTable\",\n \"fetchData\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/StudentDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ClassDataTable\",\n \"fetchClasses\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/ClassDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DepartmentDataTable\",\n \"fetchDepartments\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/DepartmentDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SchoolDataForm\",\n \"fetchSchoolData\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/SchoolDataForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/FinancialHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ExpenseForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/ExpenseForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"IncomeForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/IncomeForm.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 \"getMonthlySummary\",\n \"formatRupiah\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/api.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MasterData\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/MasterData.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Finance\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Finance.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\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/Navigation.tsx\"\n ],\n \"created\": [\n \"src/components/student-payment/StudentPaymentForm.tsx\",\n \"src/components/student-payment/StudentPaymentHistory.tsx\",\n \"src/pages/StudentPayment.tsx\"\n ],\n \"deleted\": []\n}"
}
] |
fajri89/madrasah-money-manager
|
Add financial report menu
Implement financial report menu with filtering, Excel/PDF download, and role-based access.
|
{
"changed": [
"src/App.tsx",
"src/components/Navigation.tsx"
],
"created": [
"src/components/reports/ExpenseReport.tsx",
"src/components/reports/IncomeReport.tsx",
"src/components/reports/SppReport.tsx",
"src/pages/Reports.tsx"
],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".animate-in",
"webkit-scrollbar",
".com",
".card-hover",
"components",
"slideInBottom",
"webkit-scrollbar-thumb",
"from",
"to",
"base",
".googleapis",
"fadeIn",
"root",
"hover",
"webkit-scrollbar-track",
"body",
".glass-card",
".slide-in-bottom",
".dark"
]
},
{
"functions": [
"App",
"toggleMenu"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"Dashboard",
"fetchData",
"getRandomTrend"
],
"keys": null,
"path": "src/components/Dashboard.tsx",
"selectors": null
},
{
"functions": [
"FinancialCharts"
],
"keys": null,
"path": "src/components/FinancialCharts.tsx",
"selectors": null
},
{
"functions": [
"WhatsAppNotification",
"handleSubmit"
],
"keys": null,
"path": "src/components/WhatsAppNotification.tsx",
"selectors": null
},
{
"functions": [
"updateMedia",
"handleRouteChange"
],
"keys": null,
"path": "src/components/Navigation.tsx",
"selectors": null
},
{
"functions": [
"StudentPayment",
"fetchData",
"getStatusColor",
"sendWhatsAppReminder"
],
"keys": null,
"path": "src/components/StudentPayment.tsx",
"selectors": null
},
{
"functions": [
"TransactionHistory",
"fetchData"
],
"keys": null,
"path": "src/components/TransactionHistory.tsx",
"selectors": null
},
{
"functions": [
"FinanceCard",
"renderIcon"
],
"keys": null,
"path": "src/components/FinanceCard.tsx",
"selectors": null
},
{
"functions": [
"Header",
"fetchSekolahInfo",
"handleScroll"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"FinancialSummary"
],
"keys": null,
"path": "src/components/FinancialSummary.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": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"StudentDataTable",
"fetchData",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/StudentDataTable.tsx",
"selectors": null
},
{
"functions": [
"ClassDataTable",
"fetchClasses",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/ClassDataTable.tsx",
"selectors": null
},
{
"functions": [
"DepartmentDataTable",
"fetchDepartments",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/DepartmentDataTable.tsx",
"selectors": null
},
{
"functions": [
"SchoolDataForm",
"fetchSchoolData",
"onSubmit"
],
"keys": null,
"path": "src/components/master/SchoolDataForm.tsx",
"selectors": null
},
{
"functions": [
"StudentPaymentForm",
"fetchStudents",
"handleStudentChange",
"onSubmit"
],
"keys": null,
"path": "src/components/student-payment/StudentPaymentForm.tsx",
"selectors": null
},
{
"functions": [
"StudentPaymentHistory",
"fetchData"
],
"keys": null,
"path": "src/components/student-payment/StudentPaymentHistory.tsx",
"selectors": null
},
{
"functions": [
"FinancialHistory",
"fetchData"
],
"keys": null,
"path": "src/components/finance/FinancialHistory.tsx",
"selectors": null
},
{
"functions": [
"ExpenseForm",
"onSubmit"
],
"keys": null,
"path": "src/components/finance/ExpenseForm.tsx",
"selectors": null
},
{
"functions": [
"IncomeForm",
"onSubmit"
],
"keys": null,
"path": "src/components/finance/IncomeForm.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"getMonthlySummary",
"formatRupiah",
"formatDate"
],
"keys": null,
"path": "src/utils/api.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"MasterData"
],
"keys": null,
"path": "src/pages/MasterData.tsx",
"selectors": null
},
{
"functions": [
"Finance",
"checkUserRole"
],
"keys": null,
"path": "src/pages/Finance.tsx",
"selectors": null
},
{
"functions": [
"StudentPayment",
"checkUserRole"
],
"keys": null,
"path": "src/pages/StudentPayment.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 6 |
[
{
"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 financial report menu\n\nImplement financial report menu with filtering, Excel/PDF download, and role-based access.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".animate-in\",\n \"webkit-scrollbar\",\n \".com\",\n \".card-hover\",\n \"components\",\n \"slideInBottom\",\n \"webkit-scrollbar-thumb\",\n \"from\",\n \"to\",\n \"base\",\n \".googleapis\",\n \"fadeIn\",\n \"root\",\n \"hover\",\n \"webkit-scrollbar-track\",\n \"body\",\n \".glass-card\",\n \".slide-in-bottom\",\n \".dark\"\n ]\n },\n {\n \"functions\": [\n \"App\",\n \"toggleMenu\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Dashboard\",\n \"fetchData\",\n \"getRandomTrend\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialCharts\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinancialCharts.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WhatsAppNotification\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/WhatsAppNotification.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateMedia\",\n \"handleRouteChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Navigation.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPayment\",\n \"fetchData\",\n \"getStatusColor\",\n \"sendWhatsAppReminder\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StudentPayment.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TransactionHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/TransactionHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinanceCard\",\n \"renderIcon\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinanceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchSekolahInfo\",\n \"handleScroll\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialSummary\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinancialSummary.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 \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentDataTable\",\n \"fetchData\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/StudentDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ClassDataTable\",\n \"fetchClasses\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/ClassDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DepartmentDataTable\",\n \"fetchDepartments\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/DepartmentDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SchoolDataForm\",\n \"fetchSchoolData\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/SchoolDataForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPaymentForm\",\n \"fetchStudents\",\n \"handleStudentChange\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/student-payment/StudentPaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPaymentHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/student-payment/StudentPaymentHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/FinancialHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ExpenseForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/ExpenseForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"IncomeForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/IncomeForm.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 \"getMonthlySummary\",\n \"formatRupiah\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/api.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MasterData\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/MasterData.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Finance\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Finance.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPayment\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/StudentPayment.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\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/Navigation.tsx\"\n ],\n \"created\": [\n \"src/components/reports/ExpenseReport.tsx\",\n \"src/components/reports/IncomeReport.tsx\",\n \"src/components/reports/SppReport.tsx\",\n \"src/pages/Reports.tsx\"\n ],\n \"deleted\": []\n}"
}
] |
fajri89/madrasah-money-manager
|
Implement user management system
Add user authentication, authorization, and role-based access control.
|
{
"changed": [
"src/App.tsx",
"src/components/Header.tsx",
"src/components/Navigation.tsx",
"src/components/reports/SppReport.tsx",
"src/utils/api.ts"
],
"created": [
"src/components/ProtectedRoute.tsx",
"src/components/UserProfile.tsx",
"src/contexts/AuthContext.tsx",
"src/pages/AccessDenied.tsx",
"src/pages/Login.tsx"
],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".animate-in",
"webkit-scrollbar",
".com",
".card-hover",
"components",
"slideInBottom",
"webkit-scrollbar-thumb",
"from",
"to",
"base",
".googleapis",
"fadeIn",
"root",
"hover",
"webkit-scrollbar-track",
"body",
".glass-card",
".slide-in-bottom",
".dark"
]
},
{
"functions": [
"App",
"toggleMenu"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"Dashboard",
"fetchData",
"getRandomTrend"
],
"keys": null,
"path": "src/components/Dashboard.tsx",
"selectors": null
},
{
"functions": [
"FinancialCharts"
],
"keys": null,
"path": "src/components/FinancialCharts.tsx",
"selectors": null
},
{
"functions": [
"WhatsAppNotification",
"handleSubmit"
],
"keys": null,
"path": "src/components/WhatsAppNotification.tsx",
"selectors": null
},
{
"functions": [
"updateMedia",
"handleRouteChange"
],
"keys": null,
"path": "src/components/Navigation.tsx",
"selectors": null
},
{
"functions": [
"StudentPayment",
"fetchData",
"getStatusColor",
"sendWhatsAppReminder"
],
"keys": null,
"path": "src/components/StudentPayment.tsx",
"selectors": null
},
{
"functions": [
"TransactionHistory",
"fetchData"
],
"keys": null,
"path": "src/components/TransactionHistory.tsx",
"selectors": null
},
{
"functions": [
"FinanceCard",
"renderIcon"
],
"keys": null,
"path": "src/components/FinanceCard.tsx",
"selectors": null
},
{
"functions": [
"Header",
"fetchSekolahInfo",
"handleScroll"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"FinancialSummary"
],
"keys": null,
"path": "src/components/FinancialSummary.tsx",
"selectors": null
},
{
"functions": [
"ExpenseReport",
"fetchExpenseData",
"handleMonthChange",
"handleDownloadExcel",
"handleDownloadPDF"
],
"keys": null,
"path": "src/components/reports/ExpenseReport.tsx",
"selectors": null
},
{
"functions": [
"SppReport",
"fetchSppData",
"handleMonthChange",
"handleYearChange",
"handleDownloadExcel",
"handleDownloadPDF"
],
"keys": null,
"path": "src/components/reports/SppReport.tsx",
"selectors": null
},
{
"functions": [
"IncomeReport",
"fetchIncomeData",
"handleMonthChange",
"handleDownloadExcel",
"handleDownloadPDF"
],
"keys": null,
"path": "src/components/reports/IncomeReport.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": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"StudentDataTable",
"fetchData",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/StudentDataTable.tsx",
"selectors": null
},
{
"functions": [
"ClassDataTable",
"fetchClasses",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/ClassDataTable.tsx",
"selectors": null
},
{
"functions": [
"DepartmentDataTable",
"fetchDepartments",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/DepartmentDataTable.tsx",
"selectors": null
},
{
"functions": [
"SchoolDataForm",
"fetchSchoolData",
"onSubmit"
],
"keys": null,
"path": "src/components/master/SchoolDataForm.tsx",
"selectors": null
},
{
"functions": [
"StudentPaymentForm",
"fetchStudents",
"handleStudentChange",
"onSubmit"
],
"keys": null,
"path": "src/components/student-payment/StudentPaymentForm.tsx",
"selectors": null
},
{
"functions": [
"StudentPaymentHistory",
"fetchData"
],
"keys": null,
"path": "src/components/student-payment/StudentPaymentHistory.tsx",
"selectors": null
},
{
"functions": [
"FinancialHistory",
"fetchData"
],
"keys": null,
"path": "src/components/finance/FinancialHistory.tsx",
"selectors": null
},
{
"functions": [
"ExpenseForm",
"onSubmit"
],
"keys": null,
"path": "src/components/finance/ExpenseForm.tsx",
"selectors": null
},
{
"functions": [
"IncomeForm",
"onSubmit"
],
"keys": null,
"path": "src/components/finance/IncomeForm.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"getMonthlySummary",
"formatRupiah",
"formatDate"
],
"keys": null,
"path": "src/utils/api.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Reports",
"checkUserRole"
],
"keys": null,
"path": "src/pages/Reports.tsx",
"selectors": null
},
{
"functions": [
"MasterData"
],
"keys": null,
"path": "src/pages/MasterData.tsx",
"selectors": null
},
{
"functions": [
"Finance",
"checkUserRole"
],
"keys": null,
"path": "src/pages/Finance.tsx",
"selectors": null
},
{
"functions": [
"StudentPayment",
"checkUserRole"
],
"keys": null,
"path": "src/pages/StudentPayment.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 7 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nImplement user management system\n\nAdd user authentication, authorization, and role-based access control.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".animate-in\",\n \"webkit-scrollbar\",\n \".com\",\n \".card-hover\",\n \"components\",\n \"slideInBottom\",\n \"webkit-scrollbar-thumb\",\n \"from\",\n \"to\",\n \"base\",\n \".googleapis\",\n \"fadeIn\",\n \"root\",\n \"hover\",\n \"webkit-scrollbar-track\",\n \"body\",\n \".glass-card\",\n \".slide-in-bottom\",\n \".dark\"\n ]\n },\n {\n \"functions\": [\n \"App\",\n \"toggleMenu\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Dashboard\",\n \"fetchData\",\n \"getRandomTrend\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialCharts\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinancialCharts.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WhatsAppNotification\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/WhatsAppNotification.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateMedia\",\n \"handleRouteChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Navigation.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPayment\",\n \"fetchData\",\n \"getStatusColor\",\n \"sendWhatsAppReminder\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StudentPayment.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TransactionHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/TransactionHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinanceCard\",\n \"renderIcon\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinanceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"fetchSekolahInfo\",\n \"handleScroll\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialSummary\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinancialSummary.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ExpenseReport\",\n \"fetchExpenseData\",\n \"handleMonthChange\",\n \"handleDownloadExcel\",\n \"handleDownloadPDF\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/ExpenseReport.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SppReport\",\n \"fetchSppData\",\n \"handleMonthChange\",\n \"handleYearChange\",\n \"handleDownloadExcel\",\n \"handleDownloadPDF\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/SppReport.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"IncomeReport\",\n \"fetchIncomeData\",\n \"handleMonthChange\",\n \"handleDownloadExcel\",\n \"handleDownloadPDF\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/IncomeReport.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 \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentDataTable\",\n \"fetchData\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/StudentDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ClassDataTable\",\n \"fetchClasses\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/ClassDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DepartmentDataTable\",\n \"fetchDepartments\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/DepartmentDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SchoolDataForm\",\n \"fetchSchoolData\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/SchoolDataForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPaymentForm\",\n \"fetchStudents\",\n \"handleStudentChange\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/student-payment/StudentPaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPaymentHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/student-payment/StudentPaymentHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/FinancialHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ExpenseForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/ExpenseForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"IncomeForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/IncomeForm.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 \"getMonthlySummary\",\n \"formatRupiah\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/api.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Reports\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Reports.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MasterData\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/MasterData.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Finance\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Finance.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPayment\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/StudentPayment.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\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/Header.tsx\",\n \"src/components/Navigation.tsx\",\n \"src/components/reports/SppReport.tsx\",\n \"src/utils/api.ts\"\n ],\n \"created\": [\n \"src/components/ProtectedRoute.tsx\",\n \"src/components/UserProfile.tsx\",\n \"src/contexts/AuthContext.tsx\",\n \"src/pages/AccessDenied.tsx\",\n \"src/pages/Login.tsx\"\n ],\n \"deleted\": []\n}"
}
] |
fajri89/madrasah-money-manager
|
Refactor: Implement full finance app features
Integrate WhatsApp API, finalize UI, connect all menus, and add error handling/validation.
|
{
"changed": [
"src/components/Header.tsx",
"src/components/ProtectedRoute.tsx",
"src/components/StudentPayment.tsx",
"src/components/WhatsAppNotification.tsx",
"src/components/finance/ExpenseForm.tsx",
"src/components/finance/IncomeForm.tsx",
"src/components/student-payment/StudentPaymentForm.tsx",
"src/utils/api.ts"
],
"created": [
"src/utils/whatsAppIntegration.ts"
],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".animate-in",
"webkit-scrollbar",
".com",
".card-hover",
"components",
"slideInBottom",
"webkit-scrollbar-thumb",
"from",
"to",
"base",
".googleapis",
"fadeIn",
"root",
"hover",
"webkit-scrollbar-track",
"body",
".glass-card",
".slide-in-bottom",
".dark"
]
},
{
"functions": [
"App",
"toggleMenu"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"AuthProvider",
"checkAuth",
"logout",
"hasPermission",
"useAuth"
],
"keys": null,
"path": "src/contexts/AuthContext.tsx",
"selectors": null
},
{
"functions": [
"Dashboard",
"fetchData",
"getRandomTrend"
],
"keys": null,
"path": "src/components/Dashboard.tsx",
"selectors": null
},
{
"functions": [
"FinancialCharts"
],
"keys": null,
"path": "src/components/FinancialCharts.tsx",
"selectors": null
},
{
"functions": [
"WhatsAppNotification",
"handleSubmit"
],
"keys": null,
"path": "src/components/WhatsAppNotification.tsx",
"selectors": null
},
{
"functions": [
"UserProfile",
"getInitials",
"getRoleDisplayName"
],
"keys": null,
"path": "src/components/UserProfile.tsx",
"selectors": null
},
{
"functions": [
"updateMedia",
"handleRouteChange",
"getMenuItems"
],
"keys": null,
"path": "src/components/Navigation.tsx",
"selectors": null
},
{
"functions": [
"StudentPayment",
"fetchData",
"getStatusColor",
"sendWhatsAppReminder"
],
"keys": null,
"path": "src/components/StudentPayment.tsx",
"selectors": null
},
{
"functions": [
"TransactionHistory",
"fetchData"
],
"keys": null,
"path": "src/components/TransactionHistory.tsx",
"selectors": null
},
{
"functions": [
"FinanceCard",
"renderIcon"
],
"keys": null,
"path": "src/components/FinanceCard.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"FinancialSummary"
],
"keys": null,
"path": "src/components/FinancialSummary.tsx",
"selectors": null
},
{
"functions": [
"ExpenseReport",
"fetchExpenseData",
"handleMonthChange",
"handleDownloadExcel",
"handleDownloadPDF"
],
"keys": null,
"path": "src/components/reports/ExpenseReport.tsx",
"selectors": null
},
{
"functions": [
"SppReport",
"loadSppReport",
"handleDownloadExcel",
"handleDownloadPdf"
],
"keys": null,
"path": "src/components/reports/SppReport.tsx",
"selectors": null
},
{
"functions": [
"IncomeReport",
"fetchIncomeData",
"handleMonthChange",
"handleDownloadExcel",
"handleDownloadPDF"
],
"keys": null,
"path": "src/components/reports/IncomeReport.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": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"StudentDataTable",
"fetchData",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/StudentDataTable.tsx",
"selectors": null
},
{
"functions": [
"ClassDataTable",
"fetchClasses",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/ClassDataTable.tsx",
"selectors": null
},
{
"functions": [
"DepartmentDataTable",
"fetchDepartments",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/DepartmentDataTable.tsx",
"selectors": null
},
{
"functions": [
"SchoolDataForm",
"fetchSchoolData",
"onSubmit"
],
"keys": null,
"path": "src/components/master/SchoolDataForm.tsx",
"selectors": null
},
{
"functions": [
"StudentPaymentForm",
"fetchStudents",
"handleStudentChange",
"onSubmit"
],
"keys": null,
"path": "src/components/student-payment/StudentPaymentForm.tsx",
"selectors": null
},
{
"functions": [
"StudentPaymentHistory",
"fetchData"
],
"keys": null,
"path": "src/components/student-payment/StudentPaymentHistory.tsx",
"selectors": null
},
{
"functions": [
"FinancialHistory",
"fetchData"
],
"keys": null,
"path": "src/components/finance/FinancialHistory.tsx",
"selectors": null
},
{
"functions": [
"ExpenseForm",
"onSubmit"
],
"keys": null,
"path": "src/components/finance/ExpenseForm.tsx",
"selectors": null
},
{
"functions": [
"IncomeForm",
"onSubmit"
],
"keys": null,
"path": "src/components/finance/IncomeForm.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"getMonthlySummary",
"formatRupiah",
"formatDate"
],
"keys": null,
"path": "src/utils/api.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Reports",
"checkUserRole"
],
"keys": null,
"path": "src/pages/Reports.tsx",
"selectors": null
},
{
"functions": [
"MasterData"
],
"keys": null,
"path": "src/pages/MasterData.tsx",
"selectors": null
},
{
"functions": [
"Finance",
"checkUserRole"
],
"keys": null,
"path": "src/pages/Finance.tsx",
"selectors": null
},
{
"functions": [
"Login",
"handleLogin"
],
"keys": null,
"path": "src/pages/Login.tsx",
"selectors": null
},
{
"functions": [
"StudentPayment",
"checkUserRole"
],
"keys": null,
"path": "src/pages/StudentPayment.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"AccessDenied"
],
"keys": null,
"path": "src/pages/AccessDenied.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 8 |
[
{
"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: Implement full finance app features\n\nIntegrate WhatsApp API, finalize UI, connect all menus, and add error handling/validation.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".animate-in\",\n \"webkit-scrollbar\",\n \".com\",\n \".card-hover\",\n \"components\",\n \"slideInBottom\",\n \"webkit-scrollbar-thumb\",\n \"from\",\n \"to\",\n \"base\",\n \".googleapis\",\n \"fadeIn\",\n \"root\",\n \"hover\",\n \"webkit-scrollbar-track\",\n \"body\",\n \".glass-card\",\n \".slide-in-bottom\",\n \".dark\"\n ]\n },\n {\n \"functions\": [\n \"App\",\n \"toggleMenu\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"checkAuth\",\n \"logout\",\n \"hasPermission\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/contexts/AuthContext.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Dashboard\",\n \"fetchData\",\n \"getRandomTrend\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialCharts\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinancialCharts.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WhatsAppNotification\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/WhatsAppNotification.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"UserProfile\",\n \"getInitials\",\n \"getRoleDisplayName\"\n ],\n \"keys\": null,\n \"path\": \"src/components/UserProfile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateMedia\",\n \"handleRouteChange\",\n \"getMenuItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Navigation.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPayment\",\n \"fetchData\",\n \"getStatusColor\",\n \"sendWhatsAppReminder\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StudentPayment.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TransactionHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/TransactionHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinanceCard\",\n \"renderIcon\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinanceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialSummary\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinancialSummary.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ExpenseReport\",\n \"fetchExpenseData\",\n \"handleMonthChange\",\n \"handleDownloadExcel\",\n \"handleDownloadPDF\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/ExpenseReport.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SppReport\",\n \"loadSppReport\",\n \"handleDownloadExcel\",\n \"handleDownloadPdf\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/SppReport.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"IncomeReport\",\n \"fetchIncomeData\",\n \"handleMonthChange\",\n \"handleDownloadExcel\",\n \"handleDownloadPDF\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/IncomeReport.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 \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentDataTable\",\n \"fetchData\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/StudentDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ClassDataTable\",\n \"fetchClasses\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/ClassDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DepartmentDataTable\",\n \"fetchDepartments\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/DepartmentDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SchoolDataForm\",\n \"fetchSchoolData\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/SchoolDataForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPaymentForm\",\n \"fetchStudents\",\n \"handleStudentChange\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/student-payment/StudentPaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPaymentHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/student-payment/StudentPaymentHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/FinancialHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ExpenseForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/ExpenseForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"IncomeForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/IncomeForm.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 \"getMonthlySummary\",\n \"formatRupiah\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/api.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Reports\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Reports.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MasterData\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/MasterData.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Finance\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Finance.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Login\",\n \"handleLogin\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Login.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPayment\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/StudentPayment.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 \"AccessDenied\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/AccessDenied.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/components/Header.tsx\",\n \"src/components/ProtectedRoute.tsx\",\n \"src/components/StudentPayment.tsx\",\n \"src/components/WhatsAppNotification.tsx\",\n \"src/components/finance/ExpenseForm.tsx\",\n \"src/components/finance/IncomeForm.tsx\",\n \"src/components/student-payment/StudentPaymentForm.tsx\",\n \"src/utils/api.ts\"\n ],\n \"created\": [\n \"src/utils/whatsAppIntegration.ts\"\n ],\n \"deleted\": []\n}"
}
] |
fajri89/madrasah-money-manager
|
Fix: Update login credentials
Update the username and password for login to admin and joeng18031989 respectively.
|
{
"changed": [
"src/utils/api.ts"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".animate-in",
"webkit-scrollbar",
".com",
".card-hover",
"components",
"slideInBottom",
"webkit-scrollbar-thumb",
"from",
"to",
"base",
".googleapis",
"fadeIn",
"root",
"hover",
"webkit-scrollbar-track",
"body",
".glass-card",
".slide-in-bottom",
".dark"
]
},
{
"functions": [
"App",
"toggleMenu"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"AuthProvider",
"checkAuth",
"logout",
"hasPermission",
"useAuth"
],
"keys": null,
"path": "src/contexts/AuthContext.tsx",
"selectors": null
},
{
"functions": [
"Dashboard",
"fetchData",
"getRandomTrend"
],
"keys": null,
"path": "src/components/Dashboard.tsx",
"selectors": null
},
{
"functions": [
"FinancialCharts"
],
"keys": null,
"path": "src/components/FinancialCharts.tsx",
"selectors": null
},
{
"functions": [
"WhatsAppNotification",
"handleSubmit"
],
"keys": null,
"path": "src/components/WhatsAppNotification.tsx",
"selectors": null
},
{
"functions": [
"UserProfile",
"getInitials",
"getRoleDisplayName"
],
"keys": null,
"path": "src/components/UserProfile.tsx",
"selectors": null
},
{
"functions": [
"updateMedia",
"handleRouteChange",
"getMenuItems"
],
"keys": null,
"path": "src/components/Navigation.tsx",
"selectors": null
},
{
"functions": [
"StudentPayment",
"fetchData",
"getStatusColor",
"sendWhatsAppReminder"
],
"keys": null,
"path": "src/components/StudentPayment.tsx",
"selectors": null
},
{
"functions": [
"TransactionHistory",
"fetchData"
],
"keys": null,
"path": "src/components/TransactionHistory.tsx",
"selectors": null
},
{
"functions": [
"FinanceCard",
"renderIcon"
],
"keys": null,
"path": "src/components/FinanceCard.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"FinancialSummary"
],
"keys": null,
"path": "src/components/FinancialSummary.tsx",
"selectors": null
},
{
"functions": [
"ExpenseReport",
"fetchExpenseData",
"handleMonthChange",
"handleDownloadExcel",
"handleDownloadPDF"
],
"keys": null,
"path": "src/components/reports/ExpenseReport.tsx",
"selectors": null
},
{
"functions": [
"SppReport",
"loadSppReport",
"handleDownloadExcel",
"handleDownloadPdf"
],
"keys": null,
"path": "src/components/reports/SppReport.tsx",
"selectors": null
},
{
"functions": [
"IncomeReport",
"fetchIncomeData",
"handleMonthChange",
"handleDownloadExcel",
"handleDownloadPDF"
],
"keys": null,
"path": "src/components/reports/IncomeReport.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": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"StudentDataTable",
"fetchData",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/StudentDataTable.tsx",
"selectors": null
},
{
"functions": [
"ClassDataTable",
"fetchClasses",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/ClassDataTable.tsx",
"selectors": null
},
{
"functions": [
"DepartmentDataTable",
"fetchDepartments",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/DepartmentDataTable.tsx",
"selectors": null
},
{
"functions": [
"SchoolDataForm",
"fetchSchoolData",
"onSubmit"
],
"keys": null,
"path": "src/components/master/SchoolDataForm.tsx",
"selectors": null
},
{
"functions": [
"StudentPaymentForm",
"fetchStudents",
"handleStudentChange",
"onSubmit"
],
"keys": null,
"path": "src/components/student-payment/StudentPaymentForm.tsx",
"selectors": null
},
{
"functions": [
"StudentPaymentHistory",
"fetchData"
],
"keys": null,
"path": "src/components/student-payment/StudentPaymentHistory.tsx",
"selectors": null
},
{
"functions": [
"FinancialHistory",
"fetchData"
],
"keys": null,
"path": "src/components/finance/FinancialHistory.tsx",
"selectors": null
},
{
"functions": [
"ExpenseForm",
"onSubmit"
],
"keys": null,
"path": "src/components/finance/ExpenseForm.tsx",
"selectors": null
},
{
"functions": [
"IncomeForm",
"onSubmit"
],
"keys": null,
"path": "src/components/finance/IncomeForm.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"getMonthlySummary",
"formatRupiah",
"formatDate"
],
"keys": null,
"path": "src/utils/api.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Reports",
"checkUserRole"
],
"keys": null,
"path": "src/pages/Reports.tsx",
"selectors": null
},
{
"functions": [
"MasterData"
],
"keys": null,
"path": "src/pages/MasterData.tsx",
"selectors": null
},
{
"functions": [
"Finance",
"checkUserRole"
],
"keys": null,
"path": "src/pages/Finance.tsx",
"selectors": null
},
{
"functions": [
"Login",
"handleLogin"
],
"keys": null,
"path": "src/pages/Login.tsx",
"selectors": null
},
{
"functions": [
"StudentPayment",
"checkUserRole"
],
"keys": null,
"path": "src/pages/StudentPayment.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"AccessDenied"
],
"keys": null,
"path": "src/pages/AccessDenied.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 9 |
[
{
"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 login credentials\n\nUpdate the username and password for login to admin and joeng18031989 respectively.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".animate-in\",\n \"webkit-scrollbar\",\n \".com\",\n \".card-hover\",\n \"components\",\n \"slideInBottom\",\n \"webkit-scrollbar-thumb\",\n \"from\",\n \"to\",\n \"base\",\n \".googleapis\",\n \"fadeIn\",\n \"root\",\n \"hover\",\n \"webkit-scrollbar-track\",\n \"body\",\n \".glass-card\",\n \".slide-in-bottom\",\n \".dark\"\n ]\n },\n {\n \"functions\": [\n \"App\",\n \"toggleMenu\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"checkAuth\",\n \"logout\",\n \"hasPermission\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/contexts/AuthContext.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Dashboard\",\n \"fetchData\",\n \"getRandomTrend\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialCharts\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinancialCharts.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WhatsAppNotification\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/WhatsAppNotification.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"UserProfile\",\n \"getInitials\",\n \"getRoleDisplayName\"\n ],\n \"keys\": null,\n \"path\": \"src/components/UserProfile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateMedia\",\n \"handleRouteChange\",\n \"getMenuItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Navigation.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPayment\",\n \"fetchData\",\n \"getStatusColor\",\n \"sendWhatsAppReminder\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StudentPayment.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TransactionHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/TransactionHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinanceCard\",\n \"renderIcon\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinanceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialSummary\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinancialSummary.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ExpenseReport\",\n \"fetchExpenseData\",\n \"handleMonthChange\",\n \"handleDownloadExcel\",\n \"handleDownloadPDF\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/ExpenseReport.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SppReport\",\n \"loadSppReport\",\n \"handleDownloadExcel\",\n \"handleDownloadPdf\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/SppReport.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"IncomeReport\",\n \"fetchIncomeData\",\n \"handleMonthChange\",\n \"handleDownloadExcel\",\n \"handleDownloadPDF\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/IncomeReport.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 \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentDataTable\",\n \"fetchData\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/StudentDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ClassDataTable\",\n \"fetchClasses\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/ClassDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DepartmentDataTable\",\n \"fetchDepartments\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/DepartmentDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SchoolDataForm\",\n \"fetchSchoolData\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/SchoolDataForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPaymentForm\",\n \"fetchStudents\",\n \"handleStudentChange\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/student-payment/StudentPaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPaymentHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/student-payment/StudentPaymentHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/FinancialHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ExpenseForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/ExpenseForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"IncomeForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/IncomeForm.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 \"getMonthlySummary\",\n \"formatRupiah\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/api.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Reports\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Reports.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MasterData\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/MasterData.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Finance\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Finance.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Login\",\n \"handleLogin\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Login.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPayment\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/StudentPayment.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 \"AccessDenied\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/AccessDenied.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/utils/api.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
fajri89/madrasah-money-manager
|
feat: Implement user profile page
Adds a user profile page with functionality to change username and password, including form validation and database updates.
|
{
"changed": [
"src/App.tsx",
"src/components/UserProfile.tsx",
"src/utils/api.ts"
],
"created": [
"src/pages/Profile.tsx"
],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".animate-in",
"webkit-scrollbar",
".com",
".card-hover",
"components",
"slideInBottom",
"webkit-scrollbar-thumb",
"from",
"to",
"base",
".googleapis",
"fadeIn",
"root",
"hover",
"webkit-scrollbar-track",
"body",
".glass-card",
".slide-in-bottom",
".dark"
]
},
{
"functions": [
"App",
"toggleMenu"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"AuthProvider",
"checkAuth",
"logout",
"hasPermission",
"useAuth"
],
"keys": null,
"path": "src/contexts/AuthContext.tsx",
"selectors": null
},
{
"functions": [
"Dashboard",
"fetchData",
"getRandomTrend"
],
"keys": null,
"path": "src/components/Dashboard.tsx",
"selectors": null
},
{
"functions": [
"FinancialCharts"
],
"keys": null,
"path": "src/components/FinancialCharts.tsx",
"selectors": null
},
{
"functions": [
"WhatsAppNotification",
"handleSubmit"
],
"keys": null,
"path": "src/components/WhatsAppNotification.tsx",
"selectors": null
},
{
"functions": [
"UserProfile",
"getInitials",
"getRoleDisplayName"
],
"keys": null,
"path": "src/components/UserProfile.tsx",
"selectors": null
},
{
"functions": [
"updateMedia",
"handleRouteChange",
"getMenuItems"
],
"keys": null,
"path": "src/components/Navigation.tsx",
"selectors": null
},
{
"functions": [
"StudentPayment",
"fetchData",
"getStatusColor",
"sendWhatsAppReminder"
],
"keys": null,
"path": "src/components/StudentPayment.tsx",
"selectors": null
},
{
"functions": [
"TransactionHistory",
"fetchData"
],
"keys": null,
"path": "src/components/TransactionHistory.tsx",
"selectors": null
},
{
"functions": [
"FinanceCard",
"renderIcon"
],
"keys": null,
"path": "src/components/FinanceCard.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"FinancialSummary"
],
"keys": null,
"path": "src/components/FinancialSummary.tsx",
"selectors": null
},
{
"functions": [
"ExpenseReport",
"fetchExpenseData",
"handleMonthChange",
"handleDownloadExcel",
"handleDownloadPDF"
],
"keys": null,
"path": "src/components/reports/ExpenseReport.tsx",
"selectors": null
},
{
"functions": [
"SppReport",
"loadSppReport",
"handleDownloadExcel",
"handleDownloadPdf"
],
"keys": null,
"path": "src/components/reports/SppReport.tsx",
"selectors": null
},
{
"functions": [
"IncomeReport",
"fetchIncomeData",
"handleMonthChange",
"handleDownloadExcel",
"handleDownloadPDF"
],
"keys": null,
"path": "src/components/reports/IncomeReport.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": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"StudentDataTable",
"fetchData",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/StudentDataTable.tsx",
"selectors": null
},
{
"functions": [
"ClassDataTable",
"fetchClasses",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/ClassDataTable.tsx",
"selectors": null
},
{
"functions": [
"DepartmentDataTable",
"fetchDepartments",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/DepartmentDataTable.tsx",
"selectors": null
},
{
"functions": [
"SchoolDataForm",
"fetchSchoolData",
"onSubmit"
],
"keys": null,
"path": "src/components/master/SchoolDataForm.tsx",
"selectors": null
},
{
"functions": [
"StudentPaymentForm",
"fetchStudents",
"handleStudentChange",
"onSubmit"
],
"keys": null,
"path": "src/components/student-payment/StudentPaymentForm.tsx",
"selectors": null
},
{
"functions": [
"StudentPaymentHistory",
"fetchData"
],
"keys": null,
"path": "src/components/student-payment/StudentPaymentHistory.tsx",
"selectors": null
},
{
"functions": [
"FinancialHistory",
"fetchData"
],
"keys": null,
"path": "src/components/finance/FinancialHistory.tsx",
"selectors": null
},
{
"functions": [
"ExpenseForm",
"onSubmit"
],
"keys": null,
"path": "src/components/finance/ExpenseForm.tsx",
"selectors": null
},
{
"functions": [
"IncomeForm",
"onSubmit"
],
"keys": null,
"path": "src/components/finance/IncomeForm.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"getMonthlySummary",
"formatRupiah",
"formatDate"
],
"keys": null,
"path": "src/utils/api.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Reports",
"checkUserRole"
],
"keys": null,
"path": "src/pages/Reports.tsx",
"selectors": null
},
{
"functions": [
"MasterData"
],
"keys": null,
"path": "src/pages/MasterData.tsx",
"selectors": null
},
{
"functions": [
"Finance",
"checkUserRole"
],
"keys": null,
"path": "src/pages/Finance.tsx",
"selectors": null
},
{
"functions": [
"Login",
"handleLogin"
],
"keys": null,
"path": "src/pages/Login.tsx",
"selectors": null
},
{
"functions": [
"StudentPayment",
"checkUserRole"
],
"keys": null,
"path": "src/pages/StudentPayment.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"AccessDenied"
],
"keys": null,
"path": "src/pages/AccessDenied.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 10 |
[
{
"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: Implement user profile page\n\nAdds a user profile page with functionality to change username and password, including form validation and database updates.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".animate-in\",\n \"webkit-scrollbar\",\n \".com\",\n \".card-hover\",\n \"components\",\n \"slideInBottom\",\n \"webkit-scrollbar-thumb\",\n \"from\",\n \"to\",\n \"base\",\n \".googleapis\",\n \"fadeIn\",\n \"root\",\n \"hover\",\n \"webkit-scrollbar-track\",\n \"body\",\n \".glass-card\",\n \".slide-in-bottom\",\n \".dark\"\n ]\n },\n {\n \"functions\": [\n \"App\",\n \"toggleMenu\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"checkAuth\",\n \"logout\",\n \"hasPermission\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/contexts/AuthContext.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Dashboard\",\n \"fetchData\",\n \"getRandomTrend\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialCharts\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinancialCharts.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WhatsAppNotification\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/WhatsAppNotification.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"UserProfile\",\n \"getInitials\",\n \"getRoleDisplayName\"\n ],\n \"keys\": null,\n \"path\": \"src/components/UserProfile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateMedia\",\n \"handleRouteChange\",\n \"getMenuItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Navigation.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPayment\",\n \"fetchData\",\n \"getStatusColor\",\n \"sendWhatsAppReminder\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StudentPayment.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TransactionHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/TransactionHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinanceCard\",\n \"renderIcon\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinanceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialSummary\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinancialSummary.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ExpenseReport\",\n \"fetchExpenseData\",\n \"handleMonthChange\",\n \"handleDownloadExcel\",\n \"handleDownloadPDF\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/ExpenseReport.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SppReport\",\n \"loadSppReport\",\n \"handleDownloadExcel\",\n \"handleDownloadPdf\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/SppReport.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"IncomeReport\",\n \"fetchIncomeData\",\n \"handleMonthChange\",\n \"handleDownloadExcel\",\n \"handleDownloadPDF\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/IncomeReport.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 \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentDataTable\",\n \"fetchData\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/StudentDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ClassDataTable\",\n \"fetchClasses\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/ClassDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DepartmentDataTable\",\n \"fetchDepartments\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/DepartmentDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SchoolDataForm\",\n \"fetchSchoolData\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/SchoolDataForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPaymentForm\",\n \"fetchStudents\",\n \"handleStudentChange\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/student-payment/StudentPaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPaymentHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/student-payment/StudentPaymentHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/FinancialHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ExpenseForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/ExpenseForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"IncomeForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/IncomeForm.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 \"getMonthlySummary\",\n \"formatRupiah\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/api.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Reports\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Reports.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MasterData\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/MasterData.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Finance\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Finance.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Login\",\n \"handleLogin\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Login.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPayment\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/StudentPayment.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 \"AccessDenied\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/AccessDenied.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\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/UserProfile.tsx\",\n \"src/utils/api.ts\"\n ],\n \"created\": [\n \"src/pages/Profile.tsx\"\n ],\n \"deleted\": []\n}"
}
] |
fajri89/madrasah-money-manager
|
Update UserProfile.tsx
|
{
"changed": [
"src/components/UserProfile.tsx"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".animate-in",
"webkit-scrollbar",
".com",
".card-hover",
"components",
"slideInBottom",
"webkit-scrollbar-thumb",
"from",
"to",
"base",
".googleapis",
"fadeIn",
"root",
"hover",
"webkit-scrollbar-track",
"body",
".glass-card",
".slide-in-bottom",
".dark"
]
},
{
"functions": [
"App",
"toggleMenu"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"AuthProvider",
"checkAuth",
"logout",
"hasPermission",
"useAuth"
],
"keys": null,
"path": "src/contexts/AuthContext.tsx",
"selectors": null
},
{
"functions": [
"Dashboard",
"fetchData",
"getRandomTrend"
],
"keys": null,
"path": "src/components/Dashboard.tsx",
"selectors": null
},
{
"functions": [
"FinancialCharts"
],
"keys": null,
"path": "src/components/FinancialCharts.tsx",
"selectors": null
},
{
"functions": [
"WhatsAppNotification",
"handleSubmit"
],
"keys": null,
"path": "src/components/WhatsAppNotification.tsx",
"selectors": null
},
{
"functions": [
"UserProfile",
"getInitials",
"getRoleDisplayName"
],
"keys": null,
"path": "src/components/UserProfile.tsx",
"selectors": null
},
{
"functions": [
"updateMedia",
"handleRouteChange",
"getMenuItems"
],
"keys": null,
"path": "src/components/Navigation.tsx",
"selectors": null
},
{
"functions": [
"StudentPayment",
"fetchData",
"getStatusColor",
"sendWhatsAppReminder"
],
"keys": null,
"path": "src/components/StudentPayment.tsx",
"selectors": null
},
{
"functions": [
"TransactionHistory",
"fetchData"
],
"keys": null,
"path": "src/components/TransactionHistory.tsx",
"selectors": null
},
{
"functions": [
"FinanceCard",
"renderIcon"
],
"keys": null,
"path": "src/components/FinanceCard.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"FinancialSummary"
],
"keys": null,
"path": "src/components/FinancialSummary.tsx",
"selectors": null
},
{
"functions": [
"ExpenseReport",
"fetchExpenseData",
"handleMonthChange",
"handleDownloadExcel",
"handleDownloadPDF"
],
"keys": null,
"path": "src/components/reports/ExpenseReport.tsx",
"selectors": null
},
{
"functions": [
"SppReport",
"loadSppReport",
"handleDownloadExcel",
"handleDownloadPdf"
],
"keys": null,
"path": "src/components/reports/SppReport.tsx",
"selectors": null
},
{
"functions": [
"IncomeReport",
"fetchIncomeData",
"handleMonthChange",
"handleDownloadExcel",
"handleDownloadPDF"
],
"keys": null,
"path": "src/components/reports/IncomeReport.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": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"StudentDataTable",
"fetchData",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/StudentDataTable.tsx",
"selectors": null
},
{
"functions": [
"ClassDataTable",
"fetchClasses",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/ClassDataTable.tsx",
"selectors": null
},
{
"functions": [
"DepartmentDataTable",
"fetchDepartments",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/DepartmentDataTable.tsx",
"selectors": null
},
{
"functions": [
"SchoolDataForm",
"fetchSchoolData",
"onSubmit"
],
"keys": null,
"path": "src/components/master/SchoolDataForm.tsx",
"selectors": null
},
{
"functions": [
"StudentPaymentForm",
"fetchStudents",
"handleStudentChange",
"onSubmit"
],
"keys": null,
"path": "src/components/student-payment/StudentPaymentForm.tsx",
"selectors": null
},
{
"functions": [
"StudentPaymentHistory",
"fetchData"
],
"keys": null,
"path": "src/components/student-payment/StudentPaymentHistory.tsx",
"selectors": null
},
{
"functions": [
"FinancialHistory",
"fetchData"
],
"keys": null,
"path": "src/components/finance/FinancialHistory.tsx",
"selectors": null
},
{
"functions": [
"ExpenseForm",
"onSubmit"
],
"keys": null,
"path": "src/components/finance/ExpenseForm.tsx",
"selectors": null
},
{
"functions": [
"IncomeForm",
"onSubmit"
],
"keys": null,
"path": "src/components/finance/IncomeForm.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"getMonthlySummary",
"formatRupiah",
"formatDate"
],
"keys": null,
"path": "src/utils/api.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Reports",
"checkUserRole"
],
"keys": null,
"path": "src/pages/Reports.tsx",
"selectors": null
},
{
"functions": [
"MasterData"
],
"keys": null,
"path": "src/pages/MasterData.tsx",
"selectors": null
},
{
"functions": [
"Profile",
"handleUsernameChange",
"handlePasswordChange"
],
"keys": null,
"path": "src/pages/Profile.tsx",
"selectors": null
},
{
"functions": [
"Finance",
"checkUserRole"
],
"keys": null,
"path": "src/pages/Finance.tsx",
"selectors": null
},
{
"functions": [
"Login",
"handleLogin"
],
"keys": null,
"path": "src/pages/Login.tsx",
"selectors": null
},
{
"functions": [
"StudentPayment",
"checkUserRole"
],
"keys": null,
"path": "src/pages/StudentPayment.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"AccessDenied"
],
"keys": null,
"path": "src/pages/AccessDenied.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 11 |
[
{
"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 UserProfile.tsx\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".animate-in\",\n \"webkit-scrollbar\",\n \".com\",\n \".card-hover\",\n \"components\",\n \"slideInBottom\",\n \"webkit-scrollbar-thumb\",\n \"from\",\n \"to\",\n \"base\",\n \".googleapis\",\n \"fadeIn\",\n \"root\",\n \"hover\",\n \"webkit-scrollbar-track\",\n \"body\",\n \".glass-card\",\n \".slide-in-bottom\",\n \".dark\"\n ]\n },\n {\n \"functions\": [\n \"App\",\n \"toggleMenu\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"checkAuth\",\n \"logout\",\n \"hasPermission\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/contexts/AuthContext.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Dashboard\",\n \"fetchData\",\n \"getRandomTrend\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialCharts\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinancialCharts.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WhatsAppNotification\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/WhatsAppNotification.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"UserProfile\",\n \"getInitials\",\n \"getRoleDisplayName\"\n ],\n \"keys\": null,\n \"path\": \"src/components/UserProfile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateMedia\",\n \"handleRouteChange\",\n \"getMenuItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Navigation.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPayment\",\n \"fetchData\",\n \"getStatusColor\",\n \"sendWhatsAppReminder\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StudentPayment.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TransactionHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/TransactionHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinanceCard\",\n \"renderIcon\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinanceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialSummary\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinancialSummary.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ExpenseReport\",\n \"fetchExpenseData\",\n \"handleMonthChange\",\n \"handleDownloadExcel\",\n \"handleDownloadPDF\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/ExpenseReport.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SppReport\",\n \"loadSppReport\",\n \"handleDownloadExcel\",\n \"handleDownloadPdf\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/SppReport.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"IncomeReport\",\n \"fetchIncomeData\",\n \"handleMonthChange\",\n \"handleDownloadExcel\",\n \"handleDownloadPDF\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/IncomeReport.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 \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentDataTable\",\n \"fetchData\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/StudentDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ClassDataTable\",\n \"fetchClasses\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/ClassDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DepartmentDataTable\",\n \"fetchDepartments\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/DepartmentDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SchoolDataForm\",\n \"fetchSchoolData\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/SchoolDataForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPaymentForm\",\n \"fetchStudents\",\n \"handleStudentChange\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/student-payment/StudentPaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPaymentHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/student-payment/StudentPaymentHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/FinancialHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ExpenseForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/ExpenseForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"IncomeForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/IncomeForm.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 \"getMonthlySummary\",\n \"formatRupiah\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/api.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Reports\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Reports.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MasterData\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/MasterData.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Profile\",\n \"handleUsernameChange\",\n \"handlePasswordChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Finance\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Finance.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Login\",\n \"handleLogin\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Login.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPayment\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/StudentPayment.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 \"AccessDenied\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/AccessDenied.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/components/UserProfile.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
fajri89/madrasah-money-manager
|
Update UserProfile.tsx
|
{
"changed": [
"src/components/UserProfile.tsx"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".animate-in",
"webkit-scrollbar",
".com",
".card-hover",
"components",
"slideInBottom",
"webkit-scrollbar-thumb",
"from",
"to",
"base",
".googleapis",
"fadeIn",
"root",
"hover",
"webkit-scrollbar-track",
"body",
".glass-card",
".slide-in-bottom",
".dark"
]
},
{
"functions": [
"App",
"toggleMenu"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"AuthProvider",
"checkAuth",
"logout",
"hasPermission",
"useAuth"
],
"keys": null,
"path": "src/contexts/AuthContext.tsx",
"selectors": null
},
{
"functions": [
"Dashboard",
"fetchData",
"getRandomTrend"
],
"keys": null,
"path": "src/components/Dashboard.tsx",
"selectors": null
},
{
"functions": [
"FinancialCharts"
],
"keys": null,
"path": "src/components/FinancialCharts.tsx",
"selectors": null
},
{
"functions": [
"WhatsAppNotification",
"handleSubmit"
],
"keys": null,
"path": "src/components/WhatsAppNotification.tsx",
"selectors": null
},
{
"functions": [
"UserProfile",
"getInitials",
"getRoleDisplayName"
],
"keys": null,
"path": "src/components/UserProfile.tsx",
"selectors": null
},
{
"functions": [
"updateMedia",
"handleRouteChange",
"getMenuItems"
],
"keys": null,
"path": "src/components/Navigation.tsx",
"selectors": null
},
{
"functions": [
"StudentPayment",
"fetchData",
"getStatusColor",
"sendWhatsAppReminder"
],
"keys": null,
"path": "src/components/StudentPayment.tsx",
"selectors": null
},
{
"functions": [
"TransactionHistory",
"fetchData"
],
"keys": null,
"path": "src/components/TransactionHistory.tsx",
"selectors": null
},
{
"functions": [
"FinanceCard",
"renderIcon"
],
"keys": null,
"path": "src/components/FinanceCard.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"FinancialSummary"
],
"keys": null,
"path": "src/components/FinancialSummary.tsx",
"selectors": null
},
{
"functions": [
"ExpenseReport",
"fetchExpenseData",
"handleMonthChange",
"handleDownloadExcel",
"handleDownloadPDF"
],
"keys": null,
"path": "src/components/reports/ExpenseReport.tsx",
"selectors": null
},
{
"functions": [
"SppReport",
"loadSppReport",
"handleDownloadExcel",
"handleDownloadPdf"
],
"keys": null,
"path": "src/components/reports/SppReport.tsx",
"selectors": null
},
{
"functions": [
"IncomeReport",
"fetchIncomeData",
"handleMonthChange",
"handleDownloadExcel",
"handleDownloadPDF"
],
"keys": null,
"path": "src/components/reports/IncomeReport.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": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"StudentDataTable",
"fetchData",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/StudentDataTable.tsx",
"selectors": null
},
{
"functions": [
"ClassDataTable",
"fetchClasses",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/ClassDataTable.tsx",
"selectors": null
},
{
"functions": [
"DepartmentDataTable",
"fetchDepartments",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/DepartmentDataTable.tsx",
"selectors": null
},
{
"functions": [
"SchoolDataForm",
"fetchSchoolData",
"onSubmit"
],
"keys": null,
"path": "src/components/master/SchoolDataForm.tsx",
"selectors": null
},
{
"functions": [
"StudentPaymentForm",
"fetchStudents",
"handleStudentChange",
"onSubmit"
],
"keys": null,
"path": "src/components/student-payment/StudentPaymentForm.tsx",
"selectors": null
},
{
"functions": [
"StudentPaymentHistory",
"fetchData"
],
"keys": null,
"path": "src/components/student-payment/StudentPaymentHistory.tsx",
"selectors": null
},
{
"functions": [
"FinancialHistory",
"fetchData"
],
"keys": null,
"path": "src/components/finance/FinancialHistory.tsx",
"selectors": null
},
{
"functions": [
"ExpenseForm",
"onSubmit"
],
"keys": null,
"path": "src/components/finance/ExpenseForm.tsx",
"selectors": null
},
{
"functions": [
"IncomeForm",
"onSubmit"
],
"keys": null,
"path": "src/components/finance/IncomeForm.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"getMonthlySummary",
"formatRupiah",
"formatDate"
],
"keys": null,
"path": "src/utils/api.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Reports",
"checkUserRole"
],
"keys": null,
"path": "src/pages/Reports.tsx",
"selectors": null
},
{
"functions": [
"MasterData"
],
"keys": null,
"path": "src/pages/MasterData.tsx",
"selectors": null
},
{
"functions": [
"Profile",
"handleUsernameChange",
"handlePasswordChange"
],
"keys": null,
"path": "src/pages/Profile.tsx",
"selectors": null
},
{
"functions": [
"Finance",
"checkUserRole"
],
"keys": null,
"path": "src/pages/Finance.tsx",
"selectors": null
},
{
"functions": [
"Login",
"handleLogin"
],
"keys": null,
"path": "src/pages/Login.tsx",
"selectors": null
},
{
"functions": [
"StudentPayment",
"checkUserRole"
],
"keys": null,
"path": "src/pages/StudentPayment.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"AccessDenied"
],
"keys": null,
"path": "src/pages/AccessDenied.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 12 |
[
{
"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 UserProfile.tsx\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".animate-in\",\n \"webkit-scrollbar\",\n \".com\",\n \".card-hover\",\n \"components\",\n \"slideInBottom\",\n \"webkit-scrollbar-thumb\",\n \"from\",\n \"to\",\n \"base\",\n \".googleapis\",\n \"fadeIn\",\n \"root\",\n \"hover\",\n \"webkit-scrollbar-track\",\n \"body\",\n \".glass-card\",\n \".slide-in-bottom\",\n \".dark\"\n ]\n },\n {\n \"functions\": [\n \"App\",\n \"toggleMenu\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"checkAuth\",\n \"logout\",\n \"hasPermission\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/contexts/AuthContext.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Dashboard\",\n \"fetchData\",\n \"getRandomTrend\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialCharts\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinancialCharts.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WhatsAppNotification\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/WhatsAppNotification.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"UserProfile\",\n \"getInitials\",\n \"getRoleDisplayName\"\n ],\n \"keys\": null,\n \"path\": \"src/components/UserProfile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateMedia\",\n \"handleRouteChange\",\n \"getMenuItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Navigation.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPayment\",\n \"fetchData\",\n \"getStatusColor\",\n \"sendWhatsAppReminder\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StudentPayment.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TransactionHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/TransactionHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinanceCard\",\n \"renderIcon\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinanceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialSummary\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinancialSummary.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ExpenseReport\",\n \"fetchExpenseData\",\n \"handleMonthChange\",\n \"handleDownloadExcel\",\n \"handleDownloadPDF\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/ExpenseReport.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SppReport\",\n \"loadSppReport\",\n \"handleDownloadExcel\",\n \"handleDownloadPdf\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/SppReport.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"IncomeReport\",\n \"fetchIncomeData\",\n \"handleMonthChange\",\n \"handleDownloadExcel\",\n \"handleDownloadPDF\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/IncomeReport.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 \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentDataTable\",\n \"fetchData\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/StudentDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ClassDataTable\",\n \"fetchClasses\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/ClassDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DepartmentDataTable\",\n \"fetchDepartments\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/DepartmentDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SchoolDataForm\",\n \"fetchSchoolData\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/SchoolDataForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPaymentForm\",\n \"fetchStudents\",\n \"handleStudentChange\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/student-payment/StudentPaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPaymentHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/student-payment/StudentPaymentHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/FinancialHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ExpenseForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/ExpenseForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"IncomeForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/IncomeForm.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 \"getMonthlySummary\",\n \"formatRupiah\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/api.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Reports\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Reports.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MasterData\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/MasterData.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Profile\",\n \"handleUsernameChange\",\n \"handlePasswordChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Finance\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Finance.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Login\",\n \"handleLogin\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Login.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPayment\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/StudentPayment.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 \"AccessDenied\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/AccessDenied.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/components/UserProfile.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
fajri89/madrasah-money-manager
|
Update UserProfile.tsx
|
{
"changed": [
"src/components/UserProfile.tsx"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".animate-in",
"webkit-scrollbar",
".com",
".card-hover",
"components",
"slideInBottom",
"webkit-scrollbar-thumb",
"from",
"to",
"base",
".googleapis",
"fadeIn",
"root",
"hover",
"webkit-scrollbar-track",
"body",
".glass-card",
".slide-in-bottom",
".dark"
]
},
{
"functions": [
"App",
"toggleMenu"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"AuthProvider",
"checkAuth",
"logout",
"hasPermission",
"useAuth"
],
"keys": null,
"path": "src/contexts/AuthContext.tsx",
"selectors": null
},
{
"functions": [
"Dashboard",
"fetchData",
"getRandomTrend"
],
"keys": null,
"path": "src/components/Dashboard.tsx",
"selectors": null
},
{
"functions": [
"FinancialCharts"
],
"keys": null,
"path": "src/components/FinancialCharts.tsx",
"selectors": null
},
{
"functions": [
"WhatsAppNotification",
"handleSubmit"
],
"keys": null,
"path": "src/components/WhatsAppNotification.tsx",
"selectors": null
},
{
"functions": [
"UserProfile",
"getInitials",
"getRoleDisplayName"
],
"keys": null,
"path": "src/components/UserProfile.tsx",
"selectors": null
},
{
"functions": [
"updateMedia",
"handleRouteChange",
"getMenuItems"
],
"keys": null,
"path": "src/components/Navigation.tsx",
"selectors": null
},
{
"functions": [
"StudentPayment",
"fetchData",
"getStatusColor",
"sendWhatsAppReminder"
],
"keys": null,
"path": "src/components/StudentPayment.tsx",
"selectors": null
},
{
"functions": [
"TransactionHistory",
"fetchData"
],
"keys": null,
"path": "src/components/TransactionHistory.tsx",
"selectors": null
},
{
"functions": [
"FinanceCard",
"renderIcon"
],
"keys": null,
"path": "src/components/FinanceCard.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"FinancialSummary"
],
"keys": null,
"path": "src/components/FinancialSummary.tsx",
"selectors": null
},
{
"functions": [
"ExpenseReport",
"fetchExpenseData",
"handleMonthChange",
"handleDownloadExcel",
"handleDownloadPDF"
],
"keys": null,
"path": "src/components/reports/ExpenseReport.tsx",
"selectors": null
},
{
"functions": [
"SppReport",
"loadSppReport",
"handleDownloadExcel",
"handleDownloadPdf"
],
"keys": null,
"path": "src/components/reports/SppReport.tsx",
"selectors": null
},
{
"functions": [
"IncomeReport",
"fetchIncomeData",
"handleMonthChange",
"handleDownloadExcel",
"handleDownloadPDF"
],
"keys": null,
"path": "src/components/reports/IncomeReport.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": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"StudentDataTable",
"fetchData",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/StudentDataTable.tsx",
"selectors": null
},
{
"functions": [
"ClassDataTable",
"fetchClasses",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/ClassDataTable.tsx",
"selectors": null
},
{
"functions": [
"DepartmentDataTable",
"fetchDepartments",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/DepartmentDataTable.tsx",
"selectors": null
},
{
"functions": [
"SchoolDataForm",
"fetchSchoolData",
"onSubmit"
],
"keys": null,
"path": "src/components/master/SchoolDataForm.tsx",
"selectors": null
},
{
"functions": [
"StudentPaymentForm",
"fetchStudents",
"handleStudentChange",
"onSubmit"
],
"keys": null,
"path": "src/components/student-payment/StudentPaymentForm.tsx",
"selectors": null
},
{
"functions": [
"StudentPaymentHistory",
"fetchData"
],
"keys": null,
"path": "src/components/student-payment/StudentPaymentHistory.tsx",
"selectors": null
},
{
"functions": [
"FinancialHistory",
"fetchData"
],
"keys": null,
"path": "src/components/finance/FinancialHistory.tsx",
"selectors": null
},
{
"functions": [
"ExpenseForm",
"onSubmit"
],
"keys": null,
"path": "src/components/finance/ExpenseForm.tsx",
"selectors": null
},
{
"functions": [
"IncomeForm",
"onSubmit"
],
"keys": null,
"path": "src/components/finance/IncomeForm.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"getMonthlySummary",
"formatRupiah",
"formatDate"
],
"keys": null,
"path": "src/utils/api.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Reports",
"checkUserRole"
],
"keys": null,
"path": "src/pages/Reports.tsx",
"selectors": null
},
{
"functions": [
"MasterData"
],
"keys": null,
"path": "src/pages/MasterData.tsx",
"selectors": null
},
{
"functions": [
"Profile",
"handleUsernameChange",
"handlePasswordChange"
],
"keys": null,
"path": "src/pages/Profile.tsx",
"selectors": null
},
{
"functions": [
"Finance",
"checkUserRole"
],
"keys": null,
"path": "src/pages/Finance.tsx",
"selectors": null
},
{
"functions": [
"Login",
"handleLogin"
],
"keys": null,
"path": "src/pages/Login.tsx",
"selectors": null
},
{
"functions": [
"StudentPayment",
"checkUserRole"
],
"keys": null,
"path": "src/pages/StudentPayment.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"AccessDenied"
],
"keys": null,
"path": "src/pages/AccessDenied.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 13 |
[
{
"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 UserProfile.tsx\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".animate-in\",\n \"webkit-scrollbar\",\n \".com\",\n \".card-hover\",\n \"components\",\n \"slideInBottom\",\n \"webkit-scrollbar-thumb\",\n \"from\",\n \"to\",\n \"base\",\n \".googleapis\",\n \"fadeIn\",\n \"root\",\n \"hover\",\n \"webkit-scrollbar-track\",\n \"body\",\n \".glass-card\",\n \".slide-in-bottom\",\n \".dark\"\n ]\n },\n {\n \"functions\": [\n \"App\",\n \"toggleMenu\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"checkAuth\",\n \"logout\",\n \"hasPermission\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/contexts/AuthContext.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Dashboard\",\n \"fetchData\",\n \"getRandomTrend\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialCharts\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinancialCharts.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WhatsAppNotification\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/WhatsAppNotification.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"UserProfile\",\n \"getInitials\",\n \"getRoleDisplayName\"\n ],\n \"keys\": null,\n \"path\": \"src/components/UserProfile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateMedia\",\n \"handleRouteChange\",\n \"getMenuItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Navigation.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPayment\",\n \"fetchData\",\n \"getStatusColor\",\n \"sendWhatsAppReminder\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StudentPayment.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TransactionHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/TransactionHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinanceCard\",\n \"renderIcon\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinanceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialSummary\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinancialSummary.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ExpenseReport\",\n \"fetchExpenseData\",\n \"handleMonthChange\",\n \"handleDownloadExcel\",\n \"handleDownloadPDF\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/ExpenseReport.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SppReport\",\n \"loadSppReport\",\n \"handleDownloadExcel\",\n \"handleDownloadPdf\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/SppReport.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"IncomeReport\",\n \"fetchIncomeData\",\n \"handleMonthChange\",\n \"handleDownloadExcel\",\n \"handleDownloadPDF\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/IncomeReport.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 \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentDataTable\",\n \"fetchData\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/StudentDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ClassDataTable\",\n \"fetchClasses\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/ClassDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DepartmentDataTable\",\n \"fetchDepartments\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/DepartmentDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SchoolDataForm\",\n \"fetchSchoolData\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/SchoolDataForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPaymentForm\",\n \"fetchStudents\",\n \"handleStudentChange\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/student-payment/StudentPaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPaymentHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/student-payment/StudentPaymentHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/FinancialHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ExpenseForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/ExpenseForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"IncomeForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/IncomeForm.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 \"getMonthlySummary\",\n \"formatRupiah\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/api.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Reports\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Reports.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MasterData\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/MasterData.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Profile\",\n \"handleUsernameChange\",\n \"handlePasswordChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Finance\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Finance.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Login\",\n \"handleLogin\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Login.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPayment\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/StudentPayment.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 \"AccessDenied\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/AccessDenied.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/components/UserProfile.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
fajri89/madrasah-money-manager
|
Reverted to edit edt-d1cdb5d1-c76a-4fa1-8d77-378cd1034fd8: "feat: Implement user profile page
Adds a user profile page with functionality to change username and password, including form validation and database updates."
|
{
"changed": [
"src/components/UserProfile.tsx"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".animate-in",
"webkit-scrollbar",
".com",
".card-hover",
"components",
"slideInBottom",
"webkit-scrollbar-thumb",
"from",
"to",
"base",
".googleapis",
"fadeIn",
"root",
"hover",
"webkit-scrollbar-track",
"body",
".glass-card",
".slide-in-bottom",
".dark"
]
},
{
"functions": [
"App",
"toggleMenu"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"AuthProvider",
"checkAuth",
"logout",
"hasPermission",
"useAuth"
],
"keys": null,
"path": "src/contexts/AuthContext.tsx",
"selectors": null
},
{
"functions": [
"Dashboard",
"fetchData",
"getRandomTrend"
],
"keys": null,
"path": "src/components/Dashboard.tsx",
"selectors": null
},
{
"functions": [
"FinancialCharts"
],
"keys": null,
"path": "src/components/FinancialCharts.tsx",
"selectors": null
},
{
"functions": [
"WhatsAppNotification",
"handleSubmit"
],
"keys": null,
"path": "src/components/WhatsAppNotification.tsx",
"selectors": null
},
{
"functions": [
"UserProfile",
"getInitials",
"getRoleDisplayName"
],
"keys": null,
"path": "src/components/UserProfile.tsx",
"selectors": null
},
{
"functions": [
"updateMedia",
"handleRouteChange",
"getMenuItems"
],
"keys": null,
"path": "src/components/Navigation.tsx",
"selectors": null
},
{
"functions": [
"StudentPayment",
"fetchData",
"getStatusColor",
"sendWhatsAppReminder"
],
"keys": null,
"path": "src/components/StudentPayment.tsx",
"selectors": null
},
{
"functions": [
"TransactionHistory",
"fetchData"
],
"keys": null,
"path": "src/components/TransactionHistory.tsx",
"selectors": null
},
{
"functions": [
"FinanceCard",
"renderIcon"
],
"keys": null,
"path": "src/components/FinanceCard.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"FinancialSummary"
],
"keys": null,
"path": "src/components/FinancialSummary.tsx",
"selectors": null
},
{
"functions": [
"ExpenseReport",
"fetchExpenseData",
"handleMonthChange",
"handleDownloadExcel",
"handleDownloadPDF"
],
"keys": null,
"path": "src/components/reports/ExpenseReport.tsx",
"selectors": null
},
{
"functions": [
"SppReport",
"loadSppReport",
"handleDownloadExcel",
"handleDownloadPdf"
],
"keys": null,
"path": "src/components/reports/SppReport.tsx",
"selectors": null
},
{
"functions": [
"IncomeReport",
"fetchIncomeData",
"handleMonthChange",
"handleDownloadExcel",
"handleDownloadPDF"
],
"keys": null,
"path": "src/components/reports/IncomeReport.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": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"StudentDataTable",
"fetchData",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/StudentDataTable.tsx",
"selectors": null
},
{
"functions": [
"ClassDataTable",
"fetchClasses",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/ClassDataTable.tsx",
"selectors": null
},
{
"functions": [
"DepartmentDataTable",
"fetchDepartments",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/DepartmentDataTable.tsx",
"selectors": null
},
{
"functions": [
"SchoolDataForm",
"fetchSchoolData",
"onSubmit"
],
"keys": null,
"path": "src/components/master/SchoolDataForm.tsx",
"selectors": null
},
{
"functions": [
"StudentPaymentForm",
"fetchStudents",
"handleStudentChange",
"onSubmit"
],
"keys": null,
"path": "src/components/student-payment/StudentPaymentForm.tsx",
"selectors": null
},
{
"functions": [
"StudentPaymentHistory",
"fetchData"
],
"keys": null,
"path": "src/components/student-payment/StudentPaymentHistory.tsx",
"selectors": null
},
{
"functions": [
"FinancialHistory",
"fetchData"
],
"keys": null,
"path": "src/components/finance/FinancialHistory.tsx",
"selectors": null
},
{
"functions": [
"ExpenseForm",
"onSubmit"
],
"keys": null,
"path": "src/components/finance/ExpenseForm.tsx",
"selectors": null
},
{
"functions": [
"IncomeForm",
"onSubmit"
],
"keys": null,
"path": "src/components/finance/IncomeForm.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"getMonthlySummary",
"formatRupiah",
"formatDate"
],
"keys": null,
"path": "src/utils/api.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Reports",
"checkUserRole"
],
"keys": null,
"path": "src/pages/Reports.tsx",
"selectors": null
},
{
"functions": [
"MasterData"
],
"keys": null,
"path": "src/pages/MasterData.tsx",
"selectors": null
},
{
"functions": [
"Profile",
"handleUsernameChange",
"handlePasswordChange"
],
"keys": null,
"path": "src/pages/Profile.tsx",
"selectors": null
},
{
"functions": [
"Finance",
"checkUserRole"
],
"keys": null,
"path": "src/pages/Finance.tsx",
"selectors": null
},
{
"functions": [
"Login",
"handleLogin"
],
"keys": null,
"path": "src/pages/Login.tsx",
"selectors": null
},
{
"functions": [
"StudentPayment",
"checkUserRole"
],
"keys": null,
"path": "src/pages/StudentPayment.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"AccessDenied"
],
"keys": null,
"path": "src/pages/AccessDenied.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 14 |
[
{
"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-d1cdb5d1-c76a-4fa1-8d77-378cd1034fd8: \"feat: Implement user profile page\n\nAdds a user profile page with functionality to change username and password, including form validation and database updates.\"\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".animate-in\",\n \"webkit-scrollbar\",\n \".com\",\n \".card-hover\",\n \"components\",\n \"slideInBottom\",\n \"webkit-scrollbar-thumb\",\n \"from\",\n \"to\",\n \"base\",\n \".googleapis\",\n \"fadeIn\",\n \"root\",\n \"hover\",\n \"webkit-scrollbar-track\",\n \"body\",\n \".glass-card\",\n \".slide-in-bottom\",\n \".dark\"\n ]\n },\n {\n \"functions\": [\n \"App\",\n \"toggleMenu\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"checkAuth\",\n \"logout\",\n \"hasPermission\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/contexts/AuthContext.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Dashboard\",\n \"fetchData\",\n \"getRandomTrend\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialCharts\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinancialCharts.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WhatsAppNotification\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/WhatsAppNotification.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"UserProfile\",\n \"getInitials\",\n \"getRoleDisplayName\"\n ],\n \"keys\": null,\n \"path\": \"src/components/UserProfile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateMedia\",\n \"handleRouteChange\",\n \"getMenuItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Navigation.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPayment\",\n \"fetchData\",\n \"getStatusColor\",\n \"sendWhatsAppReminder\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StudentPayment.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TransactionHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/TransactionHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinanceCard\",\n \"renderIcon\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinanceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialSummary\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinancialSummary.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ExpenseReport\",\n \"fetchExpenseData\",\n \"handleMonthChange\",\n \"handleDownloadExcel\",\n \"handleDownloadPDF\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/ExpenseReport.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SppReport\",\n \"loadSppReport\",\n \"handleDownloadExcel\",\n \"handleDownloadPdf\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/SppReport.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"IncomeReport\",\n \"fetchIncomeData\",\n \"handleMonthChange\",\n \"handleDownloadExcel\",\n \"handleDownloadPDF\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/IncomeReport.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 \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentDataTable\",\n \"fetchData\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/StudentDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ClassDataTable\",\n \"fetchClasses\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/ClassDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DepartmentDataTable\",\n \"fetchDepartments\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/DepartmentDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SchoolDataForm\",\n \"fetchSchoolData\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/SchoolDataForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPaymentForm\",\n \"fetchStudents\",\n \"handleStudentChange\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/student-payment/StudentPaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPaymentHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/student-payment/StudentPaymentHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/FinancialHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ExpenseForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/ExpenseForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"IncomeForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/IncomeForm.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 \"getMonthlySummary\",\n \"formatRupiah\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/api.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Reports\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Reports.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MasterData\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/MasterData.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Profile\",\n \"handleUsernameChange\",\n \"handlePasswordChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Finance\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Finance.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Login\",\n \"handleLogin\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Login.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPayment\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/StudentPayment.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 \"AccessDenied\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/AccessDenied.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/components/UserProfile.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
fajri89/madrasah-money-manager
|
feat: Implement login and payment check pages
Implement the login page with options for school staff and students, and a payment check feature for public access.
|
{
"changed": [
"src/pages/Login.tsx"
],
"created": [
"src/components/SppPaymentCheck.tsx"
],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".animate-in",
"webkit-scrollbar",
".com",
".card-hover",
"components",
"slideInBottom",
"webkit-scrollbar-thumb",
"from",
"to",
"base",
".googleapis",
"fadeIn",
"root",
"hover",
"webkit-scrollbar-track",
"body",
".glass-card",
".slide-in-bottom",
".dark"
]
},
{
"functions": [
"App",
"toggleMenu"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"AuthProvider",
"checkAuth",
"logout",
"hasPermission",
"useAuth"
],
"keys": null,
"path": "src/contexts/AuthContext.tsx",
"selectors": null
},
{
"functions": [
"Dashboard",
"fetchData",
"getRandomTrend"
],
"keys": null,
"path": "src/components/Dashboard.tsx",
"selectors": null
},
{
"functions": [
"FinancialCharts"
],
"keys": null,
"path": "src/components/FinancialCharts.tsx",
"selectors": null
},
{
"functions": [
"WhatsAppNotification",
"handleSubmit"
],
"keys": null,
"path": "src/components/WhatsAppNotification.tsx",
"selectors": null
},
{
"functions": [
"UserProfile",
"getInitials",
"getRoleDisplayName"
],
"keys": null,
"path": "src/components/UserProfile.tsx",
"selectors": null
},
{
"functions": [
"updateMedia",
"handleRouteChange",
"getMenuItems"
],
"keys": null,
"path": "src/components/Navigation.tsx",
"selectors": null
},
{
"functions": [
"StudentPayment",
"fetchData",
"getStatusColor",
"sendWhatsAppReminder"
],
"keys": null,
"path": "src/components/StudentPayment.tsx",
"selectors": null
},
{
"functions": [
"TransactionHistory",
"fetchData"
],
"keys": null,
"path": "src/components/TransactionHistory.tsx",
"selectors": null
},
{
"functions": [
"FinanceCard",
"renderIcon"
],
"keys": null,
"path": "src/components/FinanceCard.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"FinancialSummary"
],
"keys": null,
"path": "src/components/FinancialSummary.tsx",
"selectors": null
},
{
"functions": [
"ExpenseReport",
"fetchExpenseData",
"handleMonthChange",
"handleDownloadExcel",
"handleDownloadPDF"
],
"keys": null,
"path": "src/components/reports/ExpenseReport.tsx",
"selectors": null
},
{
"functions": [
"SppReport",
"loadSppReport",
"handleDownloadExcel",
"handleDownloadPdf"
],
"keys": null,
"path": "src/components/reports/SppReport.tsx",
"selectors": null
},
{
"functions": [
"IncomeReport",
"fetchIncomeData",
"handleMonthChange",
"handleDownloadExcel",
"handleDownloadPDF"
],
"keys": null,
"path": "src/components/reports/IncomeReport.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": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"StudentDataTable",
"fetchData",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/StudentDataTable.tsx",
"selectors": null
},
{
"functions": [
"ClassDataTable",
"fetchClasses",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/ClassDataTable.tsx",
"selectors": null
},
{
"functions": [
"DepartmentDataTable",
"fetchDepartments",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/DepartmentDataTable.tsx",
"selectors": null
},
{
"functions": [
"SchoolDataForm",
"fetchSchoolData",
"onSubmit"
],
"keys": null,
"path": "src/components/master/SchoolDataForm.tsx",
"selectors": null
},
{
"functions": [
"StudentPaymentForm",
"fetchStudents",
"handleStudentChange",
"onSubmit"
],
"keys": null,
"path": "src/components/student-payment/StudentPaymentForm.tsx",
"selectors": null
},
{
"functions": [
"StudentPaymentHistory",
"fetchData"
],
"keys": null,
"path": "src/components/student-payment/StudentPaymentHistory.tsx",
"selectors": null
},
{
"functions": [
"FinancialHistory",
"fetchData"
],
"keys": null,
"path": "src/components/finance/FinancialHistory.tsx",
"selectors": null
},
{
"functions": [
"ExpenseForm",
"onSubmit"
],
"keys": null,
"path": "src/components/finance/ExpenseForm.tsx",
"selectors": null
},
{
"functions": [
"IncomeForm",
"onSubmit"
],
"keys": null,
"path": "src/components/finance/IncomeForm.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"getMonthlySummary",
"formatRupiah",
"formatDate"
],
"keys": null,
"path": "src/utils/api.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Reports",
"checkUserRole"
],
"keys": null,
"path": "src/pages/Reports.tsx",
"selectors": null
},
{
"functions": [
"MasterData"
],
"keys": null,
"path": "src/pages/MasterData.tsx",
"selectors": null
},
{
"functions": [
"Profile",
"handleUsernameChange",
"handlePasswordChange"
],
"keys": null,
"path": "src/pages/Profile.tsx",
"selectors": null
},
{
"functions": [
"Finance",
"checkUserRole"
],
"keys": null,
"path": "src/pages/Finance.tsx",
"selectors": null
},
{
"functions": [
"Login",
"handleLogin"
],
"keys": null,
"path": "src/pages/Login.tsx",
"selectors": null
},
{
"functions": [
"StudentPayment",
"checkUserRole"
],
"keys": null,
"path": "src/pages/StudentPayment.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"AccessDenied"
],
"keys": null,
"path": "src/pages/AccessDenied.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 15 |
[
{
"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: Implement login and payment check pages\n\nImplement the login page with options for school staff and students, and a payment check feature for public access.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".animate-in\",\n \"webkit-scrollbar\",\n \".com\",\n \".card-hover\",\n \"components\",\n \"slideInBottom\",\n \"webkit-scrollbar-thumb\",\n \"from\",\n \"to\",\n \"base\",\n \".googleapis\",\n \"fadeIn\",\n \"root\",\n \"hover\",\n \"webkit-scrollbar-track\",\n \"body\",\n \".glass-card\",\n \".slide-in-bottom\",\n \".dark\"\n ]\n },\n {\n \"functions\": [\n \"App\",\n \"toggleMenu\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"checkAuth\",\n \"logout\",\n \"hasPermission\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/contexts/AuthContext.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Dashboard\",\n \"fetchData\",\n \"getRandomTrend\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialCharts\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinancialCharts.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WhatsAppNotification\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/WhatsAppNotification.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"UserProfile\",\n \"getInitials\",\n \"getRoleDisplayName\"\n ],\n \"keys\": null,\n \"path\": \"src/components/UserProfile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateMedia\",\n \"handleRouteChange\",\n \"getMenuItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Navigation.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPayment\",\n \"fetchData\",\n \"getStatusColor\",\n \"sendWhatsAppReminder\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StudentPayment.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TransactionHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/TransactionHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinanceCard\",\n \"renderIcon\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinanceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialSummary\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinancialSummary.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ExpenseReport\",\n \"fetchExpenseData\",\n \"handleMonthChange\",\n \"handleDownloadExcel\",\n \"handleDownloadPDF\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/ExpenseReport.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SppReport\",\n \"loadSppReport\",\n \"handleDownloadExcel\",\n \"handleDownloadPdf\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/SppReport.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"IncomeReport\",\n \"fetchIncomeData\",\n \"handleMonthChange\",\n \"handleDownloadExcel\",\n \"handleDownloadPDF\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/IncomeReport.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 \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentDataTable\",\n \"fetchData\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/StudentDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ClassDataTable\",\n \"fetchClasses\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/ClassDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DepartmentDataTable\",\n \"fetchDepartments\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/DepartmentDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SchoolDataForm\",\n \"fetchSchoolData\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/SchoolDataForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPaymentForm\",\n \"fetchStudents\",\n \"handleStudentChange\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/student-payment/StudentPaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPaymentHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/student-payment/StudentPaymentHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/FinancialHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ExpenseForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/ExpenseForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"IncomeForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/IncomeForm.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 \"getMonthlySummary\",\n \"formatRupiah\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/api.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Reports\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Reports.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MasterData\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/MasterData.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Profile\",\n \"handleUsernameChange\",\n \"handlePasswordChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Finance\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Finance.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Login\",\n \"handleLogin\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Login.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPayment\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/StudentPayment.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 \"AccessDenied\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/AccessDenied.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/pages/Login.tsx\"\n ],\n \"created\": [\n \"src/components/SppPaymentCheck.tsx\"\n ],\n \"deleted\": []\n}"
}
] |
fajri89/madrasah-money-manager
|
Rename application to "Madrasah Aliyah At-Tahzib Kekait"
Update application name across all components and UI elements.
|
{
"changed": [
"index.html",
"src/components/Header.tsx",
"src/components/Navigation.tsx",
"src/pages/Index.tsx",
"src/pages/Login.tsx"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".animate-in",
"webkit-scrollbar",
".com",
".card-hover",
"components",
"slideInBottom",
"webkit-scrollbar-thumb",
"from",
"to",
"base",
".googleapis",
"fadeIn",
"root",
"hover",
"webkit-scrollbar-track",
"body",
".glass-card",
".slide-in-bottom",
".dark"
]
},
{
"functions": [
"App",
"toggleMenu"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"AuthProvider",
"checkAuth",
"logout",
"hasPermission",
"useAuth"
],
"keys": null,
"path": "src/contexts/AuthContext.tsx",
"selectors": null
},
{
"functions": [
"Dashboard",
"fetchData",
"getRandomTrend"
],
"keys": null,
"path": "src/components/Dashboard.tsx",
"selectors": null
},
{
"functions": [
"FinancialCharts"
],
"keys": null,
"path": "src/components/FinancialCharts.tsx",
"selectors": null
},
{
"functions": [
"WhatsAppNotification",
"handleSubmit"
],
"keys": null,
"path": "src/components/WhatsAppNotification.tsx",
"selectors": null
},
{
"functions": [
"UserProfile",
"getInitials",
"getRoleDisplayName"
],
"keys": null,
"path": "src/components/UserProfile.tsx",
"selectors": null
},
{
"functions": [
"updateMedia",
"handleRouteChange",
"getMenuItems"
],
"keys": null,
"path": "src/components/Navigation.tsx",
"selectors": null
},
{
"functions": [
"StudentPayment",
"fetchData",
"getStatusColor",
"sendWhatsAppReminder"
],
"keys": null,
"path": "src/components/StudentPayment.tsx",
"selectors": null
},
{
"functions": [
"SppPaymentCheck",
"handleSearch"
],
"keys": null,
"path": "src/components/SppPaymentCheck.tsx",
"selectors": null
},
{
"functions": [
"TransactionHistory",
"fetchData"
],
"keys": null,
"path": "src/components/TransactionHistory.tsx",
"selectors": null
},
{
"functions": [
"FinanceCard",
"renderIcon"
],
"keys": null,
"path": "src/components/FinanceCard.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"FinancialSummary"
],
"keys": null,
"path": "src/components/FinancialSummary.tsx",
"selectors": null
},
{
"functions": [
"ExpenseReport",
"fetchExpenseData",
"handleMonthChange",
"handleDownloadExcel",
"handleDownloadPDF"
],
"keys": null,
"path": "src/components/reports/ExpenseReport.tsx",
"selectors": null
},
{
"functions": [
"SppReport",
"loadSppReport",
"handleDownloadExcel",
"handleDownloadPdf"
],
"keys": null,
"path": "src/components/reports/SppReport.tsx",
"selectors": null
},
{
"functions": [
"IncomeReport",
"fetchIncomeData",
"handleMonthChange",
"handleDownloadExcel",
"handleDownloadPDF"
],
"keys": null,
"path": "src/components/reports/IncomeReport.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": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"StudentDataTable",
"fetchData",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/StudentDataTable.tsx",
"selectors": null
},
{
"functions": [
"ClassDataTable",
"fetchClasses",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/ClassDataTable.tsx",
"selectors": null
},
{
"functions": [
"DepartmentDataTable",
"fetchDepartments",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/DepartmentDataTable.tsx",
"selectors": null
},
{
"functions": [
"SchoolDataForm",
"fetchSchoolData",
"onSubmit"
],
"keys": null,
"path": "src/components/master/SchoolDataForm.tsx",
"selectors": null
},
{
"functions": [
"StudentPaymentForm",
"fetchStudents",
"handleStudentChange",
"onSubmit"
],
"keys": null,
"path": "src/components/student-payment/StudentPaymentForm.tsx",
"selectors": null
},
{
"functions": [
"StudentPaymentHistory",
"fetchData"
],
"keys": null,
"path": "src/components/student-payment/StudentPaymentHistory.tsx",
"selectors": null
},
{
"functions": [
"FinancialHistory",
"fetchData"
],
"keys": null,
"path": "src/components/finance/FinancialHistory.tsx",
"selectors": null
},
{
"functions": [
"ExpenseForm",
"onSubmit"
],
"keys": null,
"path": "src/components/finance/ExpenseForm.tsx",
"selectors": null
},
{
"functions": [
"IncomeForm",
"onSubmit"
],
"keys": null,
"path": "src/components/finance/IncomeForm.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"getMonthlySummary",
"formatRupiah",
"formatDate"
],
"keys": null,
"path": "src/utils/api.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Reports",
"checkUserRole"
],
"keys": null,
"path": "src/pages/Reports.tsx",
"selectors": null
},
{
"functions": [
"MasterData"
],
"keys": null,
"path": "src/pages/MasterData.tsx",
"selectors": null
},
{
"functions": [
"Profile",
"handleUsernameChange",
"handlePasswordChange"
],
"keys": null,
"path": "src/pages/Profile.tsx",
"selectors": null
},
{
"functions": [
"Finance",
"checkUserRole"
],
"keys": null,
"path": "src/pages/Finance.tsx",
"selectors": null
},
{
"functions": [
"Login",
"handleStaffLogin",
"handleStudentLogin"
],
"keys": null,
"path": "src/pages/Login.tsx",
"selectors": null
},
{
"functions": [
"StudentPayment",
"checkUserRole"
],
"keys": null,
"path": "src/pages/StudentPayment.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"AccessDenied"
],
"keys": null,
"path": "src/pages/AccessDenied.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 16 |
[
{
"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:**\nRename application to \"Madrasah Aliyah At-Tahzib Kekait\"\n\nUpdate application name across all components and UI elements.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".animate-in\",\n \"webkit-scrollbar\",\n \".com\",\n \".card-hover\",\n \"components\",\n \"slideInBottom\",\n \"webkit-scrollbar-thumb\",\n \"from\",\n \"to\",\n \"base\",\n \".googleapis\",\n \"fadeIn\",\n \"root\",\n \"hover\",\n \"webkit-scrollbar-track\",\n \"body\",\n \".glass-card\",\n \".slide-in-bottom\",\n \".dark\"\n ]\n },\n {\n \"functions\": [\n \"App\",\n \"toggleMenu\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"checkAuth\",\n \"logout\",\n \"hasPermission\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/contexts/AuthContext.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Dashboard\",\n \"fetchData\",\n \"getRandomTrend\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialCharts\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinancialCharts.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WhatsAppNotification\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/WhatsAppNotification.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"UserProfile\",\n \"getInitials\",\n \"getRoleDisplayName\"\n ],\n \"keys\": null,\n \"path\": \"src/components/UserProfile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateMedia\",\n \"handleRouteChange\",\n \"getMenuItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Navigation.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPayment\",\n \"fetchData\",\n \"getStatusColor\",\n \"sendWhatsAppReminder\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StudentPayment.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SppPaymentCheck\",\n \"handleSearch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/SppPaymentCheck.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TransactionHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/TransactionHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinanceCard\",\n \"renderIcon\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinanceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialSummary\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinancialSummary.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ExpenseReport\",\n \"fetchExpenseData\",\n \"handleMonthChange\",\n \"handleDownloadExcel\",\n \"handleDownloadPDF\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/ExpenseReport.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SppReport\",\n \"loadSppReport\",\n \"handleDownloadExcel\",\n \"handleDownloadPdf\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/SppReport.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"IncomeReport\",\n \"fetchIncomeData\",\n \"handleMonthChange\",\n \"handleDownloadExcel\",\n \"handleDownloadPDF\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/IncomeReport.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 \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentDataTable\",\n \"fetchData\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/StudentDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ClassDataTable\",\n \"fetchClasses\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/ClassDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DepartmentDataTable\",\n \"fetchDepartments\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/DepartmentDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SchoolDataForm\",\n \"fetchSchoolData\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/SchoolDataForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPaymentForm\",\n \"fetchStudents\",\n \"handleStudentChange\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/student-payment/StudentPaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPaymentHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/student-payment/StudentPaymentHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/FinancialHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ExpenseForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/ExpenseForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"IncomeForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/IncomeForm.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 \"getMonthlySummary\",\n \"formatRupiah\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/api.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Reports\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Reports.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MasterData\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/MasterData.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Profile\",\n \"handleUsernameChange\",\n \"handlePasswordChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Finance\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Finance.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Login\",\n \"handleStaffLogin\",\n \"handleStudentLogin\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Login.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPayment\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/StudentPayment.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 \"AccessDenied\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/AccessDenied.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"index.html\",\n \"src/components/Header.tsx\",\n \"src/components/Navigation.tsx\",\n \"src/pages/Index.tsx\",\n \"src/pages/Login.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
fajri89/madrasah-money-manager
|
feat: Implement login and dashboard features
- Add logo to login page.
- Implement role-based dashboard navigation.
- Add user management for admin.
- Implement access control based on user roles.
- Design dashboard with consistent styling.
|
{
"changed": [
"src/App.tsx",
"src/components/Dashboard.tsx",
"src/components/Navigation.tsx",
"src/pages/Login.tsx"
],
"created": [
"public/lovable-uploads/92470630-13a1-4bd5-87a7-ba11756720be.png",
"src/components/UserManagement.tsx",
"src/pages/UserManagementPage.tsx"
],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".animate-in",
"webkit-scrollbar",
".com",
".card-hover",
"components",
"slideInBottom",
"webkit-scrollbar-thumb",
"from",
"to",
"base",
".googleapis",
"fadeIn",
"root",
"hover",
"webkit-scrollbar-track",
"body",
".glass-card",
".slide-in-bottom",
".dark"
]
},
{
"functions": [
"App",
"toggleMenu"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"AuthProvider",
"checkAuth",
"logout",
"hasPermission",
"useAuth"
],
"keys": null,
"path": "src/contexts/AuthContext.tsx",
"selectors": null
},
{
"functions": [
"Dashboard",
"fetchData",
"getRandomTrend"
],
"keys": null,
"path": "src/components/Dashboard.tsx",
"selectors": null
},
{
"functions": [
"FinancialCharts"
],
"keys": null,
"path": "src/components/FinancialCharts.tsx",
"selectors": null
},
{
"functions": [
"WhatsAppNotification",
"handleSubmit"
],
"keys": null,
"path": "src/components/WhatsAppNotification.tsx",
"selectors": null
},
{
"functions": [
"UserProfile",
"getInitials",
"getRoleDisplayName"
],
"keys": null,
"path": "src/components/UserProfile.tsx",
"selectors": null
},
{
"functions": [
"updateMedia",
"handleRouteChange",
"getMenuItems"
],
"keys": null,
"path": "src/components/Navigation.tsx",
"selectors": null
},
{
"functions": [
"StudentPayment",
"fetchData",
"getStatusColor",
"sendWhatsAppReminder"
],
"keys": null,
"path": "src/components/StudentPayment.tsx",
"selectors": null
},
{
"functions": [
"SppPaymentCheck",
"handleSearch"
],
"keys": null,
"path": "src/components/SppPaymentCheck.tsx",
"selectors": null
},
{
"functions": [
"TransactionHistory",
"fetchData"
],
"keys": null,
"path": "src/components/TransactionHistory.tsx",
"selectors": null
},
{
"functions": [
"FinanceCard",
"renderIcon"
],
"keys": null,
"path": "src/components/FinanceCard.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"FinancialSummary"
],
"keys": null,
"path": "src/components/FinancialSummary.tsx",
"selectors": null
},
{
"functions": [
"ExpenseReport",
"fetchExpenseData",
"handleMonthChange",
"handleDownloadExcel",
"handleDownloadPDF"
],
"keys": null,
"path": "src/components/reports/ExpenseReport.tsx",
"selectors": null
},
{
"functions": [
"SppReport",
"loadSppReport",
"handleDownloadExcel",
"handleDownloadPdf"
],
"keys": null,
"path": "src/components/reports/SppReport.tsx",
"selectors": null
},
{
"functions": [
"IncomeReport",
"fetchIncomeData",
"handleMonthChange",
"handleDownloadExcel",
"handleDownloadPDF"
],
"keys": null,
"path": "src/components/reports/IncomeReport.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": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"StudentDataTable",
"fetchData",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/StudentDataTable.tsx",
"selectors": null
},
{
"functions": [
"ClassDataTable",
"fetchClasses",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/ClassDataTable.tsx",
"selectors": null
},
{
"functions": [
"DepartmentDataTable",
"fetchDepartments",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/DepartmentDataTable.tsx",
"selectors": null
},
{
"functions": [
"SchoolDataForm",
"fetchSchoolData",
"onSubmit"
],
"keys": null,
"path": "src/components/master/SchoolDataForm.tsx",
"selectors": null
},
{
"functions": [
"StudentPaymentForm",
"fetchStudents",
"handleStudentChange",
"onSubmit"
],
"keys": null,
"path": "src/components/student-payment/StudentPaymentForm.tsx",
"selectors": null
},
{
"functions": [
"StudentPaymentHistory",
"fetchData"
],
"keys": null,
"path": "src/components/student-payment/StudentPaymentHistory.tsx",
"selectors": null
},
{
"functions": [
"FinancialHistory",
"fetchData"
],
"keys": null,
"path": "src/components/finance/FinancialHistory.tsx",
"selectors": null
},
{
"functions": [
"ExpenseForm",
"onSubmit"
],
"keys": null,
"path": "src/components/finance/ExpenseForm.tsx",
"selectors": null
},
{
"functions": [
"IncomeForm",
"onSubmit"
],
"keys": null,
"path": "src/components/finance/IncomeForm.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"getMonthlySummary",
"formatRupiah",
"formatDate"
],
"keys": null,
"path": "src/utils/api.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Reports",
"checkUserRole"
],
"keys": null,
"path": "src/pages/Reports.tsx",
"selectors": null
},
{
"functions": [
"MasterData"
],
"keys": null,
"path": "src/pages/MasterData.tsx",
"selectors": null
},
{
"functions": [
"Profile",
"handleUsernameChange",
"handlePasswordChange"
],
"keys": null,
"path": "src/pages/Profile.tsx",
"selectors": null
},
{
"functions": [
"Finance",
"checkUserRole"
],
"keys": null,
"path": "src/pages/Finance.tsx",
"selectors": null
},
{
"functions": [
"Login",
"handleStaffLogin",
"handleStudentLogin"
],
"keys": null,
"path": "src/pages/Login.tsx",
"selectors": null
},
{
"functions": [
"StudentPayment",
"checkUserRole"
],
"keys": null,
"path": "src/pages/StudentPayment.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"AccessDenied"
],
"keys": null,
"path": "src/pages/AccessDenied.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 17 |
[
{
"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: Implement login and dashboard features\n\n- Add logo to login page.\n- Implement role-based dashboard navigation.\n- Add user management for admin.\n- Implement access control based on user roles.\n- Design dashboard with consistent styling.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".animate-in\",\n \"webkit-scrollbar\",\n \".com\",\n \".card-hover\",\n \"components\",\n \"slideInBottom\",\n \"webkit-scrollbar-thumb\",\n \"from\",\n \"to\",\n \"base\",\n \".googleapis\",\n \"fadeIn\",\n \"root\",\n \"hover\",\n \"webkit-scrollbar-track\",\n \"body\",\n \".glass-card\",\n \".slide-in-bottom\",\n \".dark\"\n ]\n },\n {\n \"functions\": [\n \"App\",\n \"toggleMenu\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"checkAuth\",\n \"logout\",\n \"hasPermission\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/contexts/AuthContext.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Dashboard\",\n \"fetchData\",\n \"getRandomTrend\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialCharts\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinancialCharts.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WhatsAppNotification\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/WhatsAppNotification.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"UserProfile\",\n \"getInitials\",\n \"getRoleDisplayName\"\n ],\n \"keys\": null,\n \"path\": \"src/components/UserProfile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateMedia\",\n \"handleRouteChange\",\n \"getMenuItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Navigation.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPayment\",\n \"fetchData\",\n \"getStatusColor\",\n \"sendWhatsAppReminder\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StudentPayment.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SppPaymentCheck\",\n \"handleSearch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/SppPaymentCheck.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TransactionHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/TransactionHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinanceCard\",\n \"renderIcon\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinanceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialSummary\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinancialSummary.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ExpenseReport\",\n \"fetchExpenseData\",\n \"handleMonthChange\",\n \"handleDownloadExcel\",\n \"handleDownloadPDF\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/ExpenseReport.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SppReport\",\n \"loadSppReport\",\n \"handleDownloadExcel\",\n \"handleDownloadPdf\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/SppReport.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"IncomeReport\",\n \"fetchIncomeData\",\n \"handleMonthChange\",\n \"handleDownloadExcel\",\n \"handleDownloadPDF\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/IncomeReport.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 \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentDataTable\",\n \"fetchData\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/StudentDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ClassDataTable\",\n \"fetchClasses\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/ClassDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DepartmentDataTable\",\n \"fetchDepartments\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/DepartmentDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SchoolDataForm\",\n \"fetchSchoolData\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/SchoolDataForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPaymentForm\",\n \"fetchStudents\",\n \"handleStudentChange\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/student-payment/StudentPaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPaymentHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/student-payment/StudentPaymentHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/FinancialHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ExpenseForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/ExpenseForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"IncomeForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/IncomeForm.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 \"getMonthlySummary\",\n \"formatRupiah\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/api.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Reports\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Reports.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MasterData\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/MasterData.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Profile\",\n \"handleUsernameChange\",\n \"handlePasswordChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Finance\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Finance.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Login\",\n \"handleStaffLogin\",\n \"handleStudentLogin\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Login.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPayment\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/StudentPayment.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 \"AccessDenied\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/AccessDenied.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\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/Dashboard.tsx\",\n \"src/components/Navigation.tsx\",\n \"src/pages/Login.tsx\"\n ],\n \"created\": [\n \"public/lovable-uploads/92470630-13a1-4bd5-87a7-ba11756720be.png\",\n \"src/components/UserManagement.tsx\",\n \"src/pages/UserManagementPage.tsx\"\n ],\n \"deleted\": []\n}"
}
] |
fajri89/madrasah-money-manager
|
Update logo
Replaced the existing logo with a new one.
|
{
"changed": [
"src/pages/Login.tsx"
],
"created": [
"public/lovable-uploads/ec06af05-0ccf-4881-b9fd-985fbd2d8ba3.png"
],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".animate-in",
"webkit-scrollbar",
".com",
".card-hover",
"components",
"slideInBottom",
"webkit-scrollbar-thumb",
"from",
"to",
"base",
".googleapis",
"fadeIn",
"root",
"hover",
"webkit-scrollbar-track",
"body",
".glass-card",
".slide-in-bottom",
".dark"
]
},
{
"functions": [
"App",
"toggleMenu"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"AuthProvider",
"checkAuth",
"logout",
"hasPermission",
"useAuth"
],
"keys": null,
"path": "src/contexts/AuthContext.tsx",
"selectors": null
},
{
"functions": [
"Dashboard",
"fetchData",
"getRandomTrend",
"renderAdminDashboard",
"renderBendaharaDashboard",
"renderKepalaSekolahDashboard",
"renderSiswaDashboard"
],
"keys": null,
"path": "src/components/Dashboard.tsx",
"selectors": null
},
{
"functions": [
"FinancialCharts"
],
"keys": null,
"path": "src/components/FinancialCharts.tsx",
"selectors": null
},
{
"functions": [
"WhatsAppNotification",
"handleSubmit"
],
"keys": null,
"path": "src/components/WhatsAppNotification.tsx",
"selectors": null
},
{
"functions": [
"UserProfile",
"getInitials",
"getRoleDisplayName"
],
"keys": null,
"path": "src/components/UserProfile.tsx",
"selectors": null
},
{
"functions": [
"updateMedia",
"handleRouteChange",
"getMenuItems"
],
"keys": null,
"path": "src/components/Navigation.tsx",
"selectors": null
},
{
"functions": [
"UserManagement",
"fetchUsers",
"handleAddUser",
"handleEditUser",
"handleDeleteUser",
"prepareEditUser",
"resetForm",
"formatRole"
],
"keys": null,
"path": "src/components/UserManagement.tsx",
"selectors": null
},
{
"functions": [
"StudentPayment",
"fetchData",
"getStatusColor",
"sendWhatsAppReminder"
],
"keys": null,
"path": "src/components/StudentPayment.tsx",
"selectors": null
},
{
"functions": [
"SppPaymentCheck",
"handleSearch"
],
"keys": null,
"path": "src/components/SppPaymentCheck.tsx",
"selectors": null
},
{
"functions": [
"TransactionHistory",
"fetchData"
],
"keys": null,
"path": "src/components/TransactionHistory.tsx",
"selectors": null
},
{
"functions": [
"FinanceCard",
"renderIcon"
],
"keys": null,
"path": "src/components/FinanceCard.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"FinancialSummary"
],
"keys": null,
"path": "src/components/FinancialSummary.tsx",
"selectors": null
},
{
"functions": [
"ExpenseReport",
"fetchExpenseData",
"handleMonthChange",
"handleDownloadExcel",
"handleDownloadPDF"
],
"keys": null,
"path": "src/components/reports/ExpenseReport.tsx",
"selectors": null
},
{
"functions": [
"SppReport",
"loadSppReport",
"handleDownloadExcel",
"handleDownloadPdf"
],
"keys": null,
"path": "src/components/reports/SppReport.tsx",
"selectors": null
},
{
"functions": [
"IncomeReport",
"fetchIncomeData",
"handleMonthChange",
"handleDownloadExcel",
"handleDownloadPDF"
],
"keys": null,
"path": "src/components/reports/IncomeReport.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": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"StudentDataTable",
"fetchData",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/StudentDataTable.tsx",
"selectors": null
},
{
"functions": [
"ClassDataTable",
"fetchClasses",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/ClassDataTable.tsx",
"selectors": null
},
{
"functions": [
"DepartmentDataTable",
"fetchDepartments",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/DepartmentDataTable.tsx",
"selectors": null
},
{
"functions": [
"SchoolDataForm",
"fetchSchoolData",
"onSubmit"
],
"keys": null,
"path": "src/components/master/SchoolDataForm.tsx",
"selectors": null
},
{
"functions": [
"StudentPaymentForm",
"fetchStudents",
"handleStudentChange",
"onSubmit"
],
"keys": null,
"path": "src/components/student-payment/StudentPaymentForm.tsx",
"selectors": null
},
{
"functions": [
"StudentPaymentHistory",
"fetchData"
],
"keys": null,
"path": "src/components/student-payment/StudentPaymentHistory.tsx",
"selectors": null
},
{
"functions": [
"FinancialHistory",
"fetchData"
],
"keys": null,
"path": "src/components/finance/FinancialHistory.tsx",
"selectors": null
},
{
"functions": [
"ExpenseForm",
"onSubmit"
],
"keys": null,
"path": "src/components/finance/ExpenseForm.tsx",
"selectors": null
},
{
"functions": [
"IncomeForm",
"onSubmit"
],
"keys": null,
"path": "src/components/finance/IncomeForm.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"getMonthlySummary",
"formatRupiah",
"formatDate"
],
"keys": null,
"path": "src/utils/api.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Reports",
"checkUserRole"
],
"keys": null,
"path": "src/pages/Reports.tsx",
"selectors": null
},
{
"functions": [
"MasterData"
],
"keys": null,
"path": "src/pages/MasterData.tsx",
"selectors": null
},
{
"functions": [
"Profile",
"handleUsernameChange",
"handlePasswordChange"
],
"keys": null,
"path": "src/pages/Profile.tsx",
"selectors": null
},
{
"functions": [
"Finance",
"checkUserRole"
],
"keys": null,
"path": "src/pages/Finance.tsx",
"selectors": null
},
{
"functions": [
"Login",
"handleStaffLogin",
"handleStudentLogin"
],
"keys": null,
"path": "src/pages/Login.tsx",
"selectors": null
},
{
"functions": [
"StudentPayment",
"checkUserRole"
],
"keys": null,
"path": "src/pages/StudentPayment.tsx",
"selectors": null
},
{
"functions": [
"UserManagementPage"
],
"keys": null,
"path": "src/pages/UserManagementPage.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"AccessDenied"
],
"keys": null,
"path": "src/pages/AccessDenied.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 18 |
[
{
"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 logo\n\nReplaced the existing logo with a new one.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".animate-in\",\n \"webkit-scrollbar\",\n \".com\",\n \".card-hover\",\n \"components\",\n \"slideInBottom\",\n \"webkit-scrollbar-thumb\",\n \"from\",\n \"to\",\n \"base\",\n \".googleapis\",\n \"fadeIn\",\n \"root\",\n \"hover\",\n \"webkit-scrollbar-track\",\n \"body\",\n \".glass-card\",\n \".slide-in-bottom\",\n \".dark\"\n ]\n },\n {\n \"functions\": [\n \"App\",\n \"toggleMenu\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"checkAuth\",\n \"logout\",\n \"hasPermission\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/contexts/AuthContext.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Dashboard\",\n \"fetchData\",\n \"getRandomTrend\",\n \"renderAdminDashboard\",\n \"renderBendaharaDashboard\",\n \"renderKepalaSekolahDashboard\",\n \"renderSiswaDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialCharts\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinancialCharts.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WhatsAppNotification\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/WhatsAppNotification.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"UserProfile\",\n \"getInitials\",\n \"getRoleDisplayName\"\n ],\n \"keys\": null,\n \"path\": \"src/components/UserProfile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateMedia\",\n \"handleRouteChange\",\n \"getMenuItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Navigation.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"UserManagement\",\n \"fetchUsers\",\n \"handleAddUser\",\n \"handleEditUser\",\n \"handleDeleteUser\",\n \"prepareEditUser\",\n \"resetForm\",\n \"formatRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/UserManagement.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPayment\",\n \"fetchData\",\n \"getStatusColor\",\n \"sendWhatsAppReminder\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StudentPayment.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SppPaymentCheck\",\n \"handleSearch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/SppPaymentCheck.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TransactionHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/TransactionHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinanceCard\",\n \"renderIcon\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinanceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialSummary\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinancialSummary.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ExpenseReport\",\n \"fetchExpenseData\",\n \"handleMonthChange\",\n \"handleDownloadExcel\",\n \"handleDownloadPDF\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/ExpenseReport.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SppReport\",\n \"loadSppReport\",\n \"handleDownloadExcel\",\n \"handleDownloadPdf\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/SppReport.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"IncomeReport\",\n \"fetchIncomeData\",\n \"handleMonthChange\",\n \"handleDownloadExcel\",\n \"handleDownloadPDF\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/IncomeReport.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 \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentDataTable\",\n \"fetchData\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/StudentDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ClassDataTable\",\n \"fetchClasses\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/ClassDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DepartmentDataTable\",\n \"fetchDepartments\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/DepartmentDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SchoolDataForm\",\n \"fetchSchoolData\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/SchoolDataForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPaymentForm\",\n \"fetchStudents\",\n \"handleStudentChange\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/student-payment/StudentPaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPaymentHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/student-payment/StudentPaymentHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/FinancialHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ExpenseForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/ExpenseForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"IncomeForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/IncomeForm.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 \"getMonthlySummary\",\n \"formatRupiah\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/api.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Reports\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Reports.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MasterData\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/MasterData.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Profile\",\n \"handleUsernameChange\",\n \"handlePasswordChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Finance\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Finance.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Login\",\n \"handleStaffLogin\",\n \"handleStudentLogin\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Login.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPayment\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/StudentPayment.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"UserManagementPage\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/UserManagementPage.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 \"AccessDenied\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/AccessDenied.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/pages/Login.tsx\"\n ],\n \"created\": [\n \"public/lovable-uploads/ec06af05-0ccf-4881-b9fd-985fbd2d8ba3.png\"\n ],\n \"deleted\": []\n}"
}
] |
fajri89/madrasah-money-manager
|
feat: Implement role-based dashboard and user management
This commit implements role-based dashboards for admin, bendahara, kepala sekolah, and siswa. It also adds user management functionality for admins, allowing them to add, edit, and delete bendahara and kepala sekolah accounts. Includes logo placement and design updates.
|
{
"changed": [
"src/components/Header.tsx",
"src/components/SppPaymentCheck.tsx"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".animate-in",
"webkit-scrollbar",
".com",
".card-hover",
"components",
"slideInBottom",
"webkit-scrollbar-thumb",
"from",
"to",
"base",
".googleapis",
"fadeIn",
"root",
"hover",
"webkit-scrollbar-track",
"body",
".glass-card",
".slide-in-bottom",
".dark"
]
},
{
"functions": [
"App",
"toggleMenu"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"AuthProvider",
"checkAuth",
"logout",
"hasPermission",
"useAuth"
],
"keys": null,
"path": "src/contexts/AuthContext.tsx",
"selectors": null
},
{
"functions": [
"Dashboard",
"fetchData",
"getRandomTrend",
"renderAdminDashboard",
"renderBendaharaDashboard",
"renderKepalaSekolahDashboard",
"renderSiswaDashboard"
],
"keys": null,
"path": "src/components/Dashboard.tsx",
"selectors": null
},
{
"functions": [
"FinancialCharts"
],
"keys": null,
"path": "src/components/FinancialCharts.tsx",
"selectors": null
},
{
"functions": [
"WhatsAppNotification",
"handleSubmit"
],
"keys": null,
"path": "src/components/WhatsAppNotification.tsx",
"selectors": null
},
{
"functions": [
"UserProfile",
"getInitials",
"getRoleDisplayName"
],
"keys": null,
"path": "src/components/UserProfile.tsx",
"selectors": null
},
{
"functions": [
"updateMedia",
"handleRouteChange",
"getMenuItems"
],
"keys": null,
"path": "src/components/Navigation.tsx",
"selectors": null
},
{
"functions": [
"UserManagement",
"fetchUsers",
"handleAddUser",
"handleEditUser",
"handleDeleteUser",
"prepareEditUser",
"resetForm",
"formatRole"
],
"keys": null,
"path": "src/components/UserManagement.tsx",
"selectors": null
},
{
"functions": [
"StudentPayment",
"fetchData",
"getStatusColor",
"sendWhatsAppReminder"
],
"keys": null,
"path": "src/components/StudentPayment.tsx",
"selectors": null
},
{
"functions": [
"SppPaymentCheck",
"handleSearch"
],
"keys": null,
"path": "src/components/SppPaymentCheck.tsx",
"selectors": null
},
{
"functions": [
"TransactionHistory",
"fetchData"
],
"keys": null,
"path": "src/components/TransactionHistory.tsx",
"selectors": null
},
{
"functions": [
"FinanceCard",
"renderIcon"
],
"keys": null,
"path": "src/components/FinanceCard.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"FinancialSummary"
],
"keys": null,
"path": "src/components/FinancialSummary.tsx",
"selectors": null
},
{
"functions": [
"ExpenseReport",
"fetchExpenseData",
"handleMonthChange",
"handleDownloadExcel",
"handleDownloadPDF"
],
"keys": null,
"path": "src/components/reports/ExpenseReport.tsx",
"selectors": null
},
{
"functions": [
"SppReport",
"loadSppReport",
"handleDownloadExcel",
"handleDownloadPdf"
],
"keys": null,
"path": "src/components/reports/SppReport.tsx",
"selectors": null
},
{
"functions": [
"IncomeReport",
"fetchIncomeData",
"handleMonthChange",
"handleDownloadExcel",
"handleDownloadPDF"
],
"keys": null,
"path": "src/components/reports/IncomeReport.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": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"StudentDataTable",
"fetchData",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/StudentDataTable.tsx",
"selectors": null
},
{
"functions": [
"ClassDataTable",
"fetchClasses",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/ClassDataTable.tsx",
"selectors": null
},
{
"functions": [
"DepartmentDataTable",
"fetchDepartments",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/DepartmentDataTable.tsx",
"selectors": null
},
{
"functions": [
"SchoolDataForm",
"fetchSchoolData",
"onSubmit"
],
"keys": null,
"path": "src/components/master/SchoolDataForm.tsx",
"selectors": null
},
{
"functions": [
"StudentPaymentForm",
"fetchStudents",
"handleStudentChange",
"onSubmit"
],
"keys": null,
"path": "src/components/student-payment/StudentPaymentForm.tsx",
"selectors": null
},
{
"functions": [
"StudentPaymentHistory",
"fetchData"
],
"keys": null,
"path": "src/components/student-payment/StudentPaymentHistory.tsx",
"selectors": null
},
{
"functions": [
"FinancialHistory",
"fetchData"
],
"keys": null,
"path": "src/components/finance/FinancialHistory.tsx",
"selectors": null
},
{
"functions": [
"ExpenseForm",
"onSubmit"
],
"keys": null,
"path": "src/components/finance/ExpenseForm.tsx",
"selectors": null
},
{
"functions": [
"IncomeForm",
"onSubmit"
],
"keys": null,
"path": "src/components/finance/IncomeForm.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"getMonthlySummary",
"formatRupiah",
"formatDate"
],
"keys": null,
"path": "src/utils/api.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Reports",
"checkUserRole"
],
"keys": null,
"path": "src/pages/Reports.tsx",
"selectors": null
},
{
"functions": [
"MasterData"
],
"keys": null,
"path": "src/pages/MasterData.tsx",
"selectors": null
},
{
"functions": [
"Profile",
"handleUsernameChange",
"handlePasswordChange"
],
"keys": null,
"path": "src/pages/Profile.tsx",
"selectors": null
},
{
"functions": [
"Finance",
"checkUserRole"
],
"keys": null,
"path": "src/pages/Finance.tsx",
"selectors": null
},
{
"functions": [
"Login",
"handleStaffLogin",
"handleStudentLogin"
],
"keys": null,
"path": "src/pages/Login.tsx",
"selectors": null
},
{
"functions": [
"StudentPayment",
"checkUserRole"
],
"keys": null,
"path": "src/pages/StudentPayment.tsx",
"selectors": null
},
{
"functions": [
"UserManagementPage"
],
"keys": null,
"path": "src/pages/UserManagementPage.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"AccessDenied"
],
"keys": null,
"path": "src/pages/AccessDenied.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 19 |
[
{
"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: Implement role-based dashboard and user management\n\nThis commit implements role-based dashboards for admin, bendahara, kepala sekolah, and siswa. It also adds user management functionality for admins, allowing them to add, edit, and delete bendahara and kepala sekolah accounts. Includes logo placement and design updates.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".animate-in\",\n \"webkit-scrollbar\",\n \".com\",\n \".card-hover\",\n \"components\",\n \"slideInBottom\",\n \"webkit-scrollbar-thumb\",\n \"from\",\n \"to\",\n \"base\",\n \".googleapis\",\n \"fadeIn\",\n \"root\",\n \"hover\",\n \"webkit-scrollbar-track\",\n \"body\",\n \".glass-card\",\n \".slide-in-bottom\",\n \".dark\"\n ]\n },\n {\n \"functions\": [\n \"App\",\n \"toggleMenu\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"checkAuth\",\n \"logout\",\n \"hasPermission\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/contexts/AuthContext.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Dashboard\",\n \"fetchData\",\n \"getRandomTrend\",\n \"renderAdminDashboard\",\n \"renderBendaharaDashboard\",\n \"renderKepalaSekolahDashboard\",\n \"renderSiswaDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialCharts\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinancialCharts.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WhatsAppNotification\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/WhatsAppNotification.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"UserProfile\",\n \"getInitials\",\n \"getRoleDisplayName\"\n ],\n \"keys\": null,\n \"path\": \"src/components/UserProfile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateMedia\",\n \"handleRouteChange\",\n \"getMenuItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Navigation.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"UserManagement\",\n \"fetchUsers\",\n \"handleAddUser\",\n \"handleEditUser\",\n \"handleDeleteUser\",\n \"prepareEditUser\",\n \"resetForm\",\n \"formatRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/UserManagement.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPayment\",\n \"fetchData\",\n \"getStatusColor\",\n \"sendWhatsAppReminder\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StudentPayment.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SppPaymentCheck\",\n \"handleSearch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/SppPaymentCheck.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TransactionHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/TransactionHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinanceCard\",\n \"renderIcon\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinanceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialSummary\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinancialSummary.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ExpenseReport\",\n \"fetchExpenseData\",\n \"handleMonthChange\",\n \"handleDownloadExcel\",\n \"handleDownloadPDF\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/ExpenseReport.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SppReport\",\n \"loadSppReport\",\n \"handleDownloadExcel\",\n \"handleDownloadPdf\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/SppReport.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"IncomeReport\",\n \"fetchIncomeData\",\n \"handleMonthChange\",\n \"handleDownloadExcel\",\n \"handleDownloadPDF\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/IncomeReport.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 \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentDataTable\",\n \"fetchData\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/StudentDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ClassDataTable\",\n \"fetchClasses\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/ClassDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DepartmentDataTable\",\n \"fetchDepartments\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/DepartmentDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SchoolDataForm\",\n \"fetchSchoolData\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/SchoolDataForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPaymentForm\",\n \"fetchStudents\",\n \"handleStudentChange\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/student-payment/StudentPaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPaymentHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/student-payment/StudentPaymentHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/FinancialHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ExpenseForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/ExpenseForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"IncomeForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/IncomeForm.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 \"getMonthlySummary\",\n \"formatRupiah\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/api.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Reports\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Reports.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MasterData\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/MasterData.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Profile\",\n \"handleUsernameChange\",\n \"handlePasswordChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Finance\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Finance.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Login\",\n \"handleStaffLogin\",\n \"handleStudentLogin\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Login.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPayment\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/StudentPayment.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"UserManagementPage\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/UserManagementPage.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 \"AccessDenied\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/AccessDenied.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/components/Header.tsx\",\n \"src/components/SppPaymentCheck.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
fajri89/madrasah-money-manager
|
Fix: Data persistence and sidebar behavior
- Fixed data not persisting after adding new data in Master Data.
- Implemented auto-hide for the sidebar on menu clicks and outside clicks.
- Added Excel upload feature for student data import.
|
{
"changed": [
"package-lock.json",
"package.json",
"src/components/Navigation.tsx",
"src/components/master/ClassDataTable.tsx",
"src/components/master/DepartmentDataTable.tsx",
"src/components/master/SchoolDataForm.tsx",
"src/components/master/StudentDataTable.tsx",
"src/pages/MasterData.tsx",
"src/utils/api.ts"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".animate-in",
"webkit-scrollbar",
".com",
".card-hover",
"components",
"slideInBottom",
"webkit-scrollbar-thumb",
"from",
"to",
"base",
".googleapis",
"fadeIn",
"root",
"hover",
"webkit-scrollbar-track",
"body",
".glass-card",
".slide-in-bottom",
".dark"
]
},
{
"functions": [
"App",
"toggleMenu"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"AuthProvider",
"checkAuth",
"logout",
"hasPermission",
"useAuth"
],
"keys": null,
"path": "src/contexts/AuthContext.tsx",
"selectors": null
},
{
"functions": [
"Dashboard",
"fetchData",
"getRandomTrend",
"renderAdminDashboard",
"renderBendaharaDashboard",
"renderKepalaSekolahDashboard",
"renderSiswaDashboard"
],
"keys": null,
"path": "src/components/Dashboard.tsx",
"selectors": null
},
{
"functions": [
"FinancialCharts"
],
"keys": null,
"path": "src/components/FinancialCharts.tsx",
"selectors": null
},
{
"functions": [
"WhatsAppNotification",
"handleSubmit"
],
"keys": null,
"path": "src/components/WhatsAppNotification.tsx",
"selectors": null
},
{
"functions": [
"UserProfile",
"getInitials",
"getRoleDisplayName"
],
"keys": null,
"path": "src/components/UserProfile.tsx",
"selectors": null
},
{
"functions": [
"updateMedia",
"handleRouteChange",
"getMenuItems"
],
"keys": null,
"path": "src/components/Navigation.tsx",
"selectors": null
},
{
"functions": [
"UserManagement",
"fetchUsers",
"handleAddUser",
"handleEditUser",
"handleDeleteUser",
"prepareEditUser",
"resetForm",
"formatRole"
],
"keys": null,
"path": "src/components/UserManagement.tsx",
"selectors": null
},
{
"functions": [
"StudentPayment",
"fetchData",
"getStatusColor",
"sendWhatsAppReminder"
],
"keys": null,
"path": "src/components/StudentPayment.tsx",
"selectors": null
},
{
"functions": [
"SppPaymentCheck",
"handleSearch"
],
"keys": null,
"path": "src/components/SppPaymentCheck.tsx",
"selectors": null
},
{
"functions": [
"TransactionHistory",
"fetchData"
],
"keys": null,
"path": "src/components/TransactionHistory.tsx",
"selectors": null
},
{
"functions": [
"FinanceCard",
"renderIcon"
],
"keys": null,
"path": "src/components/FinanceCard.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"FinancialSummary"
],
"keys": null,
"path": "src/components/FinancialSummary.tsx",
"selectors": null
},
{
"functions": [
"ExpenseReport",
"fetchExpenseData",
"handleMonthChange",
"handleDownloadExcel",
"handleDownloadPDF"
],
"keys": null,
"path": "src/components/reports/ExpenseReport.tsx",
"selectors": null
},
{
"functions": [
"SppReport",
"loadSppReport",
"handleDownloadExcel",
"handleDownloadPdf"
],
"keys": null,
"path": "src/components/reports/SppReport.tsx",
"selectors": null
},
{
"functions": [
"IncomeReport",
"fetchIncomeData",
"handleMonthChange",
"handleDownloadExcel",
"handleDownloadPDF"
],
"keys": null,
"path": "src/components/reports/IncomeReport.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": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"StudentDataTable",
"fetchData",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/StudentDataTable.tsx",
"selectors": null
},
{
"functions": [
"ClassDataTable",
"fetchClasses",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/ClassDataTable.tsx",
"selectors": null
},
{
"functions": [
"DepartmentDataTable",
"fetchDepartments",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/DepartmentDataTable.tsx",
"selectors": null
},
{
"functions": [
"SchoolDataForm",
"fetchSchoolData",
"onSubmit"
],
"keys": null,
"path": "src/components/master/SchoolDataForm.tsx",
"selectors": null
},
{
"functions": [
"StudentPaymentForm",
"fetchStudents",
"handleStudentChange",
"onSubmit"
],
"keys": null,
"path": "src/components/student-payment/StudentPaymentForm.tsx",
"selectors": null
},
{
"functions": [
"StudentPaymentHistory",
"fetchData"
],
"keys": null,
"path": "src/components/student-payment/StudentPaymentHistory.tsx",
"selectors": null
},
{
"functions": [
"FinancialHistory",
"fetchData"
],
"keys": null,
"path": "src/components/finance/FinancialHistory.tsx",
"selectors": null
},
{
"functions": [
"ExpenseForm",
"onSubmit"
],
"keys": null,
"path": "src/components/finance/ExpenseForm.tsx",
"selectors": null
},
{
"functions": [
"IncomeForm",
"onSubmit"
],
"keys": null,
"path": "src/components/finance/IncomeForm.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"getMonthlySummary",
"formatRupiah",
"formatDate"
],
"keys": null,
"path": "src/utils/api.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Reports",
"checkUserRole"
],
"keys": null,
"path": "src/pages/Reports.tsx",
"selectors": null
},
{
"functions": [
"MasterData"
],
"keys": null,
"path": "src/pages/MasterData.tsx",
"selectors": null
},
{
"functions": [
"Profile",
"handleUsernameChange",
"handlePasswordChange"
],
"keys": null,
"path": "src/pages/Profile.tsx",
"selectors": null
},
{
"functions": [
"Finance",
"checkUserRole"
],
"keys": null,
"path": "src/pages/Finance.tsx",
"selectors": null
},
{
"functions": [
"Login",
"handleStaffLogin",
"handleStudentLogin"
],
"keys": null,
"path": "src/pages/Login.tsx",
"selectors": null
},
{
"functions": [
"StudentPayment",
"checkUserRole"
],
"keys": null,
"path": "src/pages/StudentPayment.tsx",
"selectors": null
},
{
"functions": [
"UserManagementPage"
],
"keys": null,
"path": "src/pages/UserManagementPage.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"AccessDenied"
],
"keys": null,
"path": "src/pages/AccessDenied.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 20 |
[
{
"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: Data persistence and sidebar behavior\n\n- Fixed data not persisting after adding new data in Master Data.\n- Implemented auto-hide for the sidebar on menu clicks and outside clicks.\n- Added Excel upload feature for student data import.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".animate-in\",\n \"webkit-scrollbar\",\n \".com\",\n \".card-hover\",\n \"components\",\n \"slideInBottom\",\n \"webkit-scrollbar-thumb\",\n \"from\",\n \"to\",\n \"base\",\n \".googleapis\",\n \"fadeIn\",\n \"root\",\n \"hover\",\n \"webkit-scrollbar-track\",\n \"body\",\n \".glass-card\",\n \".slide-in-bottom\",\n \".dark\"\n ]\n },\n {\n \"functions\": [\n \"App\",\n \"toggleMenu\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"checkAuth\",\n \"logout\",\n \"hasPermission\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/contexts/AuthContext.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Dashboard\",\n \"fetchData\",\n \"getRandomTrend\",\n \"renderAdminDashboard\",\n \"renderBendaharaDashboard\",\n \"renderKepalaSekolahDashboard\",\n \"renderSiswaDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialCharts\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinancialCharts.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WhatsAppNotification\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/WhatsAppNotification.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"UserProfile\",\n \"getInitials\",\n \"getRoleDisplayName\"\n ],\n \"keys\": null,\n \"path\": \"src/components/UserProfile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateMedia\",\n \"handleRouteChange\",\n \"getMenuItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Navigation.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"UserManagement\",\n \"fetchUsers\",\n \"handleAddUser\",\n \"handleEditUser\",\n \"handleDeleteUser\",\n \"prepareEditUser\",\n \"resetForm\",\n \"formatRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/UserManagement.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPayment\",\n \"fetchData\",\n \"getStatusColor\",\n \"sendWhatsAppReminder\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StudentPayment.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SppPaymentCheck\",\n \"handleSearch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/SppPaymentCheck.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TransactionHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/TransactionHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinanceCard\",\n \"renderIcon\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinanceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialSummary\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinancialSummary.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ExpenseReport\",\n \"fetchExpenseData\",\n \"handleMonthChange\",\n \"handleDownloadExcel\",\n \"handleDownloadPDF\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/ExpenseReport.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SppReport\",\n \"loadSppReport\",\n \"handleDownloadExcel\",\n \"handleDownloadPdf\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/SppReport.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"IncomeReport\",\n \"fetchIncomeData\",\n \"handleMonthChange\",\n \"handleDownloadExcel\",\n \"handleDownloadPDF\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/IncomeReport.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 \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentDataTable\",\n \"fetchData\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/StudentDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ClassDataTable\",\n \"fetchClasses\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/ClassDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DepartmentDataTable\",\n \"fetchDepartments\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/DepartmentDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SchoolDataForm\",\n \"fetchSchoolData\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/SchoolDataForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPaymentForm\",\n \"fetchStudents\",\n \"handleStudentChange\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/student-payment/StudentPaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPaymentHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/student-payment/StudentPaymentHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/FinancialHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ExpenseForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/ExpenseForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"IncomeForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/IncomeForm.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 \"getMonthlySummary\",\n \"formatRupiah\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/api.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Reports\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Reports.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MasterData\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/MasterData.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Profile\",\n \"handleUsernameChange\",\n \"handlePasswordChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Finance\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Finance.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Login\",\n \"handleStaffLogin\",\n \"handleStudentLogin\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Login.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPayment\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/StudentPayment.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"UserManagementPage\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/UserManagementPage.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 \"AccessDenied\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/AccessDenied.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\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/components/Navigation.tsx\",\n \"src/components/master/ClassDataTable.tsx\",\n \"src/components/master/DepartmentDataTable.tsx\",\n \"src/components/master/SchoolDataForm.tsx\",\n \"src/components/master/StudentDataTable.tsx\",\n \"src/pages/MasterData.tsx\",\n \"src/utils/api.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
fajri89/madrasah-money-manager
|
Connect to Supabase project
Add Supabase configuration and types to the project.
|
{
"changed": [
"package-lock.json",
"package.json"
],
"created": [
"src/integrations/supabase/client.ts",
"src/integrations/supabase/types.ts",
"supabase/config.toml"
],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".animate-in",
"webkit-scrollbar",
".com",
".card-hover",
"components",
"slideInBottom",
"webkit-scrollbar-thumb",
"from",
"to",
"base",
".googleapis",
"fadeIn",
"root",
"hover",
"webkit-scrollbar-track",
"body",
".glass-card",
".slide-in-bottom",
".dark"
]
},
{
"functions": [
"App",
"toggleMenu"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"AuthProvider",
"checkAuth",
"logout",
"hasPermission",
"useAuth"
],
"keys": null,
"path": "src/contexts/AuthContext.tsx",
"selectors": null
},
{
"functions": [
"Dashboard",
"fetchData",
"getRandomTrend",
"renderAdminDashboard",
"renderBendaharaDashboard",
"renderKepalaSekolahDashboard",
"renderSiswaDashboard"
],
"keys": null,
"path": "src/components/Dashboard.tsx",
"selectors": null
},
{
"functions": [
"FinancialCharts"
],
"keys": null,
"path": "src/components/FinancialCharts.tsx",
"selectors": null
},
{
"functions": [
"WhatsAppNotification",
"handleSubmit"
],
"keys": null,
"path": "src/components/WhatsAppNotification.tsx",
"selectors": null
},
{
"functions": [
"UserProfile",
"getInitials",
"getRoleDisplayName"
],
"keys": null,
"path": "src/components/UserProfile.tsx",
"selectors": null
},
{
"functions": [
"updateMedia",
"handleRouteChange",
"handleClickOutside",
"getMenuItems"
],
"keys": null,
"path": "src/components/Navigation.tsx",
"selectors": null
},
{
"functions": [
"UserManagement",
"fetchUsers",
"handleAddUser",
"handleEditUser",
"handleDeleteUser",
"prepareEditUser",
"resetForm",
"formatRole"
],
"keys": null,
"path": "src/components/UserManagement.tsx",
"selectors": null
},
{
"functions": [
"StudentPayment",
"fetchData",
"getStatusColor",
"sendWhatsAppReminder"
],
"keys": null,
"path": "src/components/StudentPayment.tsx",
"selectors": null
},
{
"functions": [
"SppPaymentCheck",
"handleSearch"
],
"keys": null,
"path": "src/components/SppPaymentCheck.tsx",
"selectors": null
},
{
"functions": [
"TransactionHistory",
"fetchData"
],
"keys": null,
"path": "src/components/TransactionHistory.tsx",
"selectors": null
},
{
"functions": [
"FinanceCard",
"renderIcon"
],
"keys": null,
"path": "src/components/FinanceCard.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"FinancialSummary"
],
"keys": null,
"path": "src/components/FinancialSummary.tsx",
"selectors": null
},
{
"functions": [
"ExpenseReport",
"fetchExpenseData",
"handleMonthChange",
"handleDownloadExcel",
"handleDownloadPDF"
],
"keys": null,
"path": "src/components/reports/ExpenseReport.tsx",
"selectors": null
},
{
"functions": [
"SppReport",
"loadSppReport",
"handleDownloadExcel",
"handleDownloadPdf"
],
"keys": null,
"path": "src/components/reports/SppReport.tsx",
"selectors": null
},
{
"functions": [
"IncomeReport",
"fetchIncomeData",
"handleMonthChange",
"handleDownloadExcel",
"handleDownloadPDF"
],
"keys": null,
"path": "src/components/reports/IncomeReport.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": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"StudentDataTable",
"fetchData",
"handleDelete",
"onSubmit",
"handleImportExcel"
],
"keys": null,
"path": "src/components/master/StudentDataTable.tsx",
"selectors": null
},
{
"functions": [
"ClassDataTable",
"fetchClasses",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/ClassDataTable.tsx",
"selectors": null
},
{
"functions": [
"DepartmentDataTable",
"fetchDepartments",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/DepartmentDataTable.tsx",
"selectors": null
},
{
"functions": [
"SchoolDataForm",
"fetchSchoolData",
"onSubmit"
],
"keys": null,
"path": "src/components/master/SchoolDataForm.tsx",
"selectors": null
},
{
"functions": [
"StudentPaymentForm",
"fetchStudents",
"handleStudentChange",
"onSubmit"
],
"keys": null,
"path": "src/components/student-payment/StudentPaymentForm.tsx",
"selectors": null
},
{
"functions": [
"StudentPaymentHistory",
"fetchData"
],
"keys": null,
"path": "src/components/student-payment/StudentPaymentHistory.tsx",
"selectors": null
},
{
"functions": [
"FinancialHistory",
"fetchData"
],
"keys": null,
"path": "src/components/finance/FinancialHistory.tsx",
"selectors": null
},
{
"functions": [
"ExpenseForm",
"onSubmit"
],
"keys": null,
"path": "src/components/finance/ExpenseForm.tsx",
"selectors": null
},
{
"functions": [
"IncomeForm",
"onSubmit"
],
"keys": null,
"path": "src/components/finance/IncomeForm.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"if"
],
"keys": null,
"path": "src/utils/api.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Reports",
"checkUserRole"
],
"keys": null,
"path": "src/pages/Reports.tsx",
"selectors": null
},
{
"functions": [
"MasterData",
"handleImport"
],
"keys": null,
"path": "src/pages/MasterData.tsx",
"selectors": null
},
{
"functions": [
"Profile",
"handleUsernameChange",
"handlePasswordChange"
],
"keys": null,
"path": "src/pages/Profile.tsx",
"selectors": null
},
{
"functions": [
"Finance",
"checkUserRole"
],
"keys": null,
"path": "src/pages/Finance.tsx",
"selectors": null
},
{
"functions": [
"Login",
"handleStaffLogin",
"handleStudentLogin"
],
"keys": null,
"path": "src/pages/Login.tsx",
"selectors": null
},
{
"functions": [
"StudentPayment",
"checkUserRole"
],
"keys": null,
"path": "src/pages/StudentPayment.tsx",
"selectors": null
},
{
"functions": [
"UserManagementPage"
],
"keys": null,
"path": "src/pages/UserManagementPage.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"AccessDenied"
],
"keys": null,
"path": "src/pages/AccessDenied.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 21 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nConnect to Supabase project\n\nAdd Supabase configuration and types to the project.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".animate-in\",\n \"webkit-scrollbar\",\n \".com\",\n \".card-hover\",\n \"components\",\n \"slideInBottom\",\n \"webkit-scrollbar-thumb\",\n \"from\",\n \"to\",\n \"base\",\n \".googleapis\",\n \"fadeIn\",\n \"root\",\n \"hover\",\n \"webkit-scrollbar-track\",\n \"body\",\n \".glass-card\",\n \".slide-in-bottom\",\n \".dark\"\n ]\n },\n {\n \"functions\": [\n \"App\",\n \"toggleMenu\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"checkAuth\",\n \"logout\",\n \"hasPermission\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/contexts/AuthContext.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Dashboard\",\n \"fetchData\",\n \"getRandomTrend\",\n \"renderAdminDashboard\",\n \"renderBendaharaDashboard\",\n \"renderKepalaSekolahDashboard\",\n \"renderSiswaDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialCharts\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinancialCharts.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WhatsAppNotification\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/WhatsAppNotification.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"UserProfile\",\n \"getInitials\",\n \"getRoleDisplayName\"\n ],\n \"keys\": null,\n \"path\": \"src/components/UserProfile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateMedia\",\n \"handleRouteChange\",\n \"handleClickOutside\",\n \"getMenuItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Navigation.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"UserManagement\",\n \"fetchUsers\",\n \"handleAddUser\",\n \"handleEditUser\",\n \"handleDeleteUser\",\n \"prepareEditUser\",\n \"resetForm\",\n \"formatRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/UserManagement.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPayment\",\n \"fetchData\",\n \"getStatusColor\",\n \"sendWhatsAppReminder\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StudentPayment.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SppPaymentCheck\",\n \"handleSearch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/SppPaymentCheck.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TransactionHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/TransactionHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinanceCard\",\n \"renderIcon\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinanceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialSummary\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinancialSummary.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ExpenseReport\",\n \"fetchExpenseData\",\n \"handleMonthChange\",\n \"handleDownloadExcel\",\n \"handleDownloadPDF\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/ExpenseReport.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SppReport\",\n \"loadSppReport\",\n \"handleDownloadExcel\",\n \"handleDownloadPdf\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/SppReport.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"IncomeReport\",\n \"fetchIncomeData\",\n \"handleMonthChange\",\n \"handleDownloadExcel\",\n \"handleDownloadPDF\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/IncomeReport.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 \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentDataTable\",\n \"fetchData\",\n \"handleDelete\",\n \"onSubmit\",\n \"handleImportExcel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/StudentDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ClassDataTable\",\n \"fetchClasses\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/ClassDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DepartmentDataTable\",\n \"fetchDepartments\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/DepartmentDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SchoolDataForm\",\n \"fetchSchoolData\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/SchoolDataForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPaymentForm\",\n \"fetchStudents\",\n \"handleStudentChange\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/student-payment/StudentPaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPaymentHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/student-payment/StudentPaymentHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/FinancialHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ExpenseForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/ExpenseForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"IncomeForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/IncomeForm.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/utils/api.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Reports\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Reports.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MasterData\",\n \"handleImport\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/MasterData.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Profile\",\n \"handleUsernameChange\",\n \"handlePasswordChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Finance\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Finance.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Login\",\n \"handleStaffLogin\",\n \"handleStudentLogin\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Login.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPayment\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/StudentPayment.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"UserManagementPage\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/UserManagementPage.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 \"AccessDenied\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/AccessDenied.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\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 ],\n \"created\": [\n \"src/integrations/supabase/client.ts\",\n \"src/integrations/supabase/types.ts\",\n \"supabase/config.toml\"\n ],\n \"deleted\": []\n}"
}
] |
fajri89/madrasah-money-manager
|
feat: Implement file upload dialog for import
Adds a file input dialog to the "Import" button in the Student Data table, allowing users to select and upload a file.
|
{
"changed": [
"src/components/master/SchoolDataForm.tsx",
"src/components/master/StudentDataTable.tsx",
"src/pages/MasterData.tsx"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".animate-in",
"webkit-scrollbar",
".com",
".card-hover",
"components",
"slideInBottom",
"webkit-scrollbar-thumb",
"from",
"to",
"base",
".googleapis",
"fadeIn",
"root",
"hover",
"webkit-scrollbar-track",
"body",
".glass-card",
".slide-in-bottom",
".dark"
]
},
{
"functions": [
"App",
"toggleMenu"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"AuthProvider",
"checkAuth",
"logout",
"hasPermission",
"useAuth"
],
"keys": null,
"path": "src/contexts/AuthContext.tsx",
"selectors": null
},
{
"functions": [
"Dashboard",
"fetchData",
"getRandomTrend",
"renderAdminDashboard",
"renderBendaharaDashboard",
"renderKepalaSekolahDashboard",
"renderSiswaDashboard"
],
"keys": null,
"path": "src/components/Dashboard.tsx",
"selectors": null
},
{
"functions": [
"FinancialCharts"
],
"keys": null,
"path": "src/components/FinancialCharts.tsx",
"selectors": null
},
{
"functions": [
"WhatsAppNotification",
"handleSubmit"
],
"keys": null,
"path": "src/components/WhatsAppNotification.tsx",
"selectors": null
},
{
"functions": [
"UserProfile",
"getInitials",
"getRoleDisplayName"
],
"keys": null,
"path": "src/components/UserProfile.tsx",
"selectors": null
},
{
"functions": [
"updateMedia",
"handleRouteChange",
"handleClickOutside",
"getMenuItems"
],
"keys": null,
"path": "src/components/Navigation.tsx",
"selectors": null
},
{
"functions": [
"UserManagement",
"fetchUsers",
"handleAddUser",
"handleEditUser",
"handleDeleteUser",
"prepareEditUser",
"resetForm",
"formatRole"
],
"keys": null,
"path": "src/components/UserManagement.tsx",
"selectors": null
},
{
"functions": [
"StudentPayment",
"fetchData",
"getStatusColor",
"sendWhatsAppReminder"
],
"keys": null,
"path": "src/components/StudentPayment.tsx",
"selectors": null
},
{
"functions": [
"SppPaymentCheck",
"handleSearch"
],
"keys": null,
"path": "src/components/SppPaymentCheck.tsx",
"selectors": null
},
{
"functions": [
"TransactionHistory",
"fetchData"
],
"keys": null,
"path": "src/components/TransactionHistory.tsx",
"selectors": null
},
{
"functions": [
"FinanceCard",
"renderIcon"
],
"keys": null,
"path": "src/components/FinanceCard.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"FinancialSummary"
],
"keys": null,
"path": "src/components/FinancialSummary.tsx",
"selectors": null
},
{
"functions": [
"ExpenseReport",
"fetchExpenseData",
"handleMonthChange",
"handleDownloadExcel",
"handleDownloadPDF"
],
"keys": null,
"path": "src/components/reports/ExpenseReport.tsx",
"selectors": null
},
{
"functions": [
"SppReport",
"loadSppReport",
"handleDownloadExcel",
"handleDownloadPdf"
],
"keys": null,
"path": "src/components/reports/SppReport.tsx",
"selectors": null
},
{
"functions": [
"IncomeReport",
"fetchIncomeData",
"handleMonthChange",
"handleDownloadExcel",
"handleDownloadPDF"
],
"keys": null,
"path": "src/components/reports/IncomeReport.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": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"StudentDataTable",
"fetchData",
"handleDelete",
"onSubmit",
"handleImportExcel"
],
"keys": null,
"path": "src/components/master/StudentDataTable.tsx",
"selectors": null
},
{
"functions": [
"ClassDataTable",
"fetchClasses",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/ClassDataTable.tsx",
"selectors": null
},
{
"functions": [
"DepartmentDataTable",
"fetchDepartments",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/DepartmentDataTable.tsx",
"selectors": null
},
{
"functions": [
"SchoolDataForm",
"fetchSchoolData",
"onSubmit"
],
"keys": null,
"path": "src/components/master/SchoolDataForm.tsx",
"selectors": null
},
{
"functions": [
"StudentPaymentForm",
"fetchStudents",
"handleStudentChange",
"onSubmit"
],
"keys": null,
"path": "src/components/student-payment/StudentPaymentForm.tsx",
"selectors": null
},
{
"functions": [
"StudentPaymentHistory",
"fetchData"
],
"keys": null,
"path": "src/components/student-payment/StudentPaymentHistory.tsx",
"selectors": null
},
{
"functions": [
"FinancialHistory",
"fetchData"
],
"keys": null,
"path": "src/components/finance/FinancialHistory.tsx",
"selectors": null
},
{
"functions": [
"ExpenseForm",
"onSubmit"
],
"keys": null,
"path": "src/components/finance/ExpenseForm.tsx",
"selectors": null
},
{
"functions": [
"IncomeForm",
"onSubmit"
],
"keys": null,
"path": "src/components/finance/IncomeForm.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"if"
],
"keys": null,
"path": "src/utils/api.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Reports",
"checkUserRole"
],
"keys": null,
"path": "src/pages/Reports.tsx",
"selectors": null
},
{
"functions": [
"MasterData",
"handleImport"
],
"keys": null,
"path": "src/pages/MasterData.tsx",
"selectors": null
},
{
"functions": [
"Profile",
"handleUsernameChange",
"handlePasswordChange"
],
"keys": null,
"path": "src/pages/Profile.tsx",
"selectors": null
},
{
"functions": [
"Finance",
"checkUserRole"
],
"keys": null,
"path": "src/pages/Finance.tsx",
"selectors": null
},
{
"functions": [
"Login",
"handleStaffLogin",
"handleStudentLogin"
],
"keys": null,
"path": "src/pages/Login.tsx",
"selectors": null
},
{
"functions": [
"StudentPayment",
"checkUserRole"
],
"keys": null,
"path": "src/pages/StudentPayment.tsx",
"selectors": null
},
{
"functions": [
"UserManagementPage"
],
"keys": null,
"path": "src/pages/UserManagementPage.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"AccessDenied"
],
"keys": null,
"path": "src/pages/AccessDenied.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 22 |
[
{
"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: Implement file upload dialog for import\n\nAdds a file input dialog to the \"Import\" button in the Student Data table, allowing users to select and upload a file.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".animate-in\",\n \"webkit-scrollbar\",\n \".com\",\n \".card-hover\",\n \"components\",\n \"slideInBottom\",\n \"webkit-scrollbar-thumb\",\n \"from\",\n \"to\",\n \"base\",\n \".googleapis\",\n \"fadeIn\",\n \"root\",\n \"hover\",\n \"webkit-scrollbar-track\",\n \"body\",\n \".glass-card\",\n \".slide-in-bottom\",\n \".dark\"\n ]\n },\n {\n \"functions\": [\n \"App\",\n \"toggleMenu\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"checkAuth\",\n \"logout\",\n \"hasPermission\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/contexts/AuthContext.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Dashboard\",\n \"fetchData\",\n \"getRandomTrend\",\n \"renderAdminDashboard\",\n \"renderBendaharaDashboard\",\n \"renderKepalaSekolahDashboard\",\n \"renderSiswaDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialCharts\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinancialCharts.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WhatsAppNotification\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/WhatsAppNotification.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"UserProfile\",\n \"getInitials\",\n \"getRoleDisplayName\"\n ],\n \"keys\": null,\n \"path\": \"src/components/UserProfile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateMedia\",\n \"handleRouteChange\",\n \"handleClickOutside\",\n \"getMenuItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Navigation.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"UserManagement\",\n \"fetchUsers\",\n \"handleAddUser\",\n \"handleEditUser\",\n \"handleDeleteUser\",\n \"prepareEditUser\",\n \"resetForm\",\n \"formatRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/UserManagement.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPayment\",\n \"fetchData\",\n \"getStatusColor\",\n \"sendWhatsAppReminder\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StudentPayment.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SppPaymentCheck\",\n \"handleSearch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/SppPaymentCheck.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TransactionHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/TransactionHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinanceCard\",\n \"renderIcon\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinanceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialSummary\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinancialSummary.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ExpenseReport\",\n \"fetchExpenseData\",\n \"handleMonthChange\",\n \"handleDownloadExcel\",\n \"handleDownloadPDF\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/ExpenseReport.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SppReport\",\n \"loadSppReport\",\n \"handleDownloadExcel\",\n \"handleDownloadPdf\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/SppReport.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"IncomeReport\",\n \"fetchIncomeData\",\n \"handleMonthChange\",\n \"handleDownloadExcel\",\n \"handleDownloadPDF\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/IncomeReport.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 \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentDataTable\",\n \"fetchData\",\n \"handleDelete\",\n \"onSubmit\",\n \"handleImportExcel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/StudentDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ClassDataTable\",\n \"fetchClasses\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/ClassDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DepartmentDataTable\",\n \"fetchDepartments\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/DepartmentDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SchoolDataForm\",\n \"fetchSchoolData\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/SchoolDataForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPaymentForm\",\n \"fetchStudents\",\n \"handleStudentChange\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/student-payment/StudentPaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPaymentHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/student-payment/StudentPaymentHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/FinancialHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ExpenseForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/ExpenseForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"IncomeForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/IncomeForm.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/utils/api.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Reports\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Reports.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MasterData\",\n \"handleImport\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/MasterData.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Profile\",\n \"handleUsernameChange\",\n \"handlePasswordChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Finance\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Finance.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Login\",\n \"handleStaffLogin\",\n \"handleStudentLogin\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Login.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPayment\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/StudentPayment.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"UserManagementPage\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/UserManagementPage.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 \"AccessDenied\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/AccessDenied.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/components/master/SchoolDataForm.tsx\",\n \"src/components/master/StudentDataTable.tsx\",\n \"src/pages/MasterData.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
fajri89/madrasah-money-manager
|
Fix: Implement report download and improve report display
- Fixes the issue where Excel and PDF reports were not downloading.
- Improves the display of reports by automatically showing the default report (e.g., the latest month's report) when a submenu is clicked.
- Adds a yearly filter option to the report filter buttons.
|
{
"changed": [
"package-lock.json",
"package.json",
"src/components/reports/ExpenseReport.tsx",
"src/components/reports/IncomeReport.tsx",
"src/components/reports/SppReport.tsx",
"src/pages/Reports.tsx"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".animate-in",
"webkit-scrollbar",
".com",
".card-hover",
"components",
"slideInBottom",
"webkit-scrollbar-thumb",
"from",
"to",
"base",
".googleapis",
"fadeIn",
"root",
"hover",
"webkit-scrollbar-track",
"body",
".glass-card",
".slide-in-bottom",
".dark"
]
},
{
"functions": [
"App",
"toggleMenu"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"AuthProvider",
"checkAuth",
"logout",
"hasPermission",
"useAuth"
],
"keys": null,
"path": "src/contexts/AuthContext.tsx",
"selectors": null
},
{
"functions": [
"Dashboard",
"fetchData",
"getRandomTrend",
"renderAdminDashboard",
"renderBendaharaDashboard",
"renderKepalaSekolahDashboard",
"renderSiswaDashboard"
],
"keys": null,
"path": "src/components/Dashboard.tsx",
"selectors": null
},
{
"functions": [
"FinancialCharts"
],
"keys": null,
"path": "src/components/FinancialCharts.tsx",
"selectors": null
},
{
"functions": [
"WhatsAppNotification",
"handleSubmit"
],
"keys": null,
"path": "src/components/WhatsAppNotification.tsx",
"selectors": null
},
{
"functions": [
"UserProfile",
"getInitials",
"getRoleDisplayName"
],
"keys": null,
"path": "src/components/UserProfile.tsx",
"selectors": null
},
{
"functions": [
"updateMedia",
"handleRouteChange",
"handleClickOutside",
"getMenuItems"
],
"keys": null,
"path": "src/components/Navigation.tsx",
"selectors": null
},
{
"functions": [
"UserManagement",
"fetchUsers",
"handleAddUser",
"handleEditUser",
"handleDeleteUser",
"prepareEditUser",
"resetForm",
"formatRole"
],
"keys": null,
"path": "src/components/UserManagement.tsx",
"selectors": null
},
{
"functions": [
"StudentPayment",
"fetchData",
"getStatusColor",
"sendWhatsAppReminder"
],
"keys": null,
"path": "src/components/StudentPayment.tsx",
"selectors": null
},
{
"functions": [
"SppPaymentCheck",
"handleSearch"
],
"keys": null,
"path": "src/components/SppPaymentCheck.tsx",
"selectors": null
},
{
"functions": [
"TransactionHistory",
"fetchData"
],
"keys": null,
"path": "src/components/TransactionHistory.tsx",
"selectors": null
},
{
"functions": [
"FinanceCard",
"renderIcon"
],
"keys": null,
"path": "src/components/FinanceCard.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"FinancialSummary"
],
"keys": null,
"path": "src/components/FinancialSummary.tsx",
"selectors": null
},
{
"functions": [
"ExpenseReport",
"fetchExpenseData",
"handleMonthChange",
"handleDownloadExcel",
"handleDownloadPDF"
],
"keys": null,
"path": "src/components/reports/ExpenseReport.tsx",
"selectors": null
},
{
"functions": [
"SppReport",
"loadSppReport",
"handleDownloadExcel",
"handleDownloadPdf"
],
"keys": null,
"path": "src/components/reports/SppReport.tsx",
"selectors": null
},
{
"functions": [
"IncomeReport",
"fetchIncomeData",
"handleMonthChange",
"handleDownloadExcel",
"handleDownloadPDF"
],
"keys": null,
"path": "src/components/reports/IncomeReport.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": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"StudentDataTable",
"fetchData",
"handleDelete",
"onSubmit",
"handleImportButtonClick",
"handleFileChange",
"handleImportExcel"
],
"keys": null,
"path": "src/components/master/StudentDataTable.tsx",
"selectors": null
},
{
"functions": [
"ClassDataTable",
"fetchClasses",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/ClassDataTable.tsx",
"selectors": null
},
{
"functions": [
"DepartmentDataTable",
"fetchDepartments",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/DepartmentDataTable.tsx",
"selectors": null
},
{
"functions": [
"SchoolDataForm",
"fetchSchoolData",
"onSubmit"
],
"keys": null,
"path": "src/components/master/SchoolDataForm.tsx",
"selectors": null
},
{
"functions": [
"StudentPaymentForm",
"fetchStudents",
"handleStudentChange",
"onSubmit"
],
"keys": null,
"path": "src/components/student-payment/StudentPaymentForm.tsx",
"selectors": null
},
{
"functions": [
"StudentPaymentHistory",
"fetchData"
],
"keys": null,
"path": "src/components/student-payment/StudentPaymentHistory.tsx",
"selectors": null
},
{
"functions": [
"FinancialHistory",
"fetchData"
],
"keys": null,
"path": "src/components/finance/FinancialHistory.tsx",
"selectors": null
},
{
"functions": [
"ExpenseForm",
"onSubmit"
],
"keys": null,
"path": "src/components/finance/ExpenseForm.tsx",
"selectors": null
},
{
"functions": [
"IncomeForm",
"onSubmit"
],
"keys": null,
"path": "src/components/finance/IncomeForm.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"if"
],
"keys": null,
"path": "src/utils/api.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Reports",
"checkUserRole"
],
"keys": null,
"path": "src/pages/Reports.tsx",
"selectors": null
},
{
"functions": [
"MasterData",
"handleImportButtonClick",
"handleFileChange",
"handleImport"
],
"keys": null,
"path": "src/pages/MasterData.tsx",
"selectors": null
},
{
"functions": [
"Profile",
"handleUsernameChange",
"handlePasswordChange"
],
"keys": null,
"path": "src/pages/Profile.tsx",
"selectors": null
},
{
"functions": [
"Finance",
"checkUserRole"
],
"keys": null,
"path": "src/pages/Finance.tsx",
"selectors": null
},
{
"functions": [
"Login",
"handleStaffLogin",
"handleStudentLogin"
],
"keys": null,
"path": "src/pages/Login.tsx",
"selectors": null
},
{
"functions": [
"StudentPayment",
"checkUserRole"
],
"keys": null,
"path": "src/pages/StudentPayment.tsx",
"selectors": null
},
{
"functions": [
"UserManagementPage"
],
"keys": null,
"path": "src/pages/UserManagementPage.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"AccessDenied"
],
"keys": null,
"path": "src/pages/AccessDenied.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 23 |
[
{
"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: Implement report download and improve report display\n\n- Fixes the issue where Excel and PDF reports were not downloading.\n- Improves the display of reports by automatically showing the default report (e.g., the latest month's report) when a submenu is clicked.\n- Adds a yearly filter option to the report filter buttons.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".animate-in\",\n \"webkit-scrollbar\",\n \".com\",\n \".card-hover\",\n \"components\",\n \"slideInBottom\",\n \"webkit-scrollbar-thumb\",\n \"from\",\n \"to\",\n \"base\",\n \".googleapis\",\n \"fadeIn\",\n \"root\",\n \"hover\",\n \"webkit-scrollbar-track\",\n \"body\",\n \".glass-card\",\n \".slide-in-bottom\",\n \".dark\"\n ]\n },\n {\n \"functions\": [\n \"App\",\n \"toggleMenu\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"checkAuth\",\n \"logout\",\n \"hasPermission\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/contexts/AuthContext.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Dashboard\",\n \"fetchData\",\n \"getRandomTrend\",\n \"renderAdminDashboard\",\n \"renderBendaharaDashboard\",\n \"renderKepalaSekolahDashboard\",\n \"renderSiswaDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialCharts\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinancialCharts.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WhatsAppNotification\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/WhatsAppNotification.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"UserProfile\",\n \"getInitials\",\n \"getRoleDisplayName\"\n ],\n \"keys\": null,\n \"path\": \"src/components/UserProfile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateMedia\",\n \"handleRouteChange\",\n \"handleClickOutside\",\n \"getMenuItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Navigation.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"UserManagement\",\n \"fetchUsers\",\n \"handleAddUser\",\n \"handleEditUser\",\n \"handleDeleteUser\",\n \"prepareEditUser\",\n \"resetForm\",\n \"formatRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/UserManagement.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPayment\",\n \"fetchData\",\n \"getStatusColor\",\n \"sendWhatsAppReminder\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StudentPayment.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SppPaymentCheck\",\n \"handleSearch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/SppPaymentCheck.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TransactionHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/TransactionHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinanceCard\",\n \"renderIcon\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinanceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialSummary\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinancialSummary.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ExpenseReport\",\n \"fetchExpenseData\",\n \"handleMonthChange\",\n \"handleDownloadExcel\",\n \"handleDownloadPDF\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/ExpenseReport.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SppReport\",\n \"loadSppReport\",\n \"handleDownloadExcel\",\n \"handleDownloadPdf\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/SppReport.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"IncomeReport\",\n \"fetchIncomeData\",\n \"handleMonthChange\",\n \"handleDownloadExcel\",\n \"handleDownloadPDF\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/IncomeReport.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 \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentDataTable\",\n \"fetchData\",\n \"handleDelete\",\n \"onSubmit\",\n \"handleImportButtonClick\",\n \"handleFileChange\",\n \"handleImportExcel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/StudentDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ClassDataTable\",\n \"fetchClasses\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/ClassDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DepartmentDataTable\",\n \"fetchDepartments\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/DepartmentDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SchoolDataForm\",\n \"fetchSchoolData\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/SchoolDataForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPaymentForm\",\n \"fetchStudents\",\n \"handleStudentChange\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/student-payment/StudentPaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPaymentHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/student-payment/StudentPaymentHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/FinancialHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ExpenseForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/ExpenseForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"IncomeForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/IncomeForm.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/utils/api.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Reports\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Reports.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MasterData\",\n \"handleImportButtonClick\",\n \"handleFileChange\",\n \"handleImport\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/MasterData.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Profile\",\n \"handleUsernameChange\",\n \"handlePasswordChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Finance\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Finance.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Login\",\n \"handleStaffLogin\",\n \"handleStudentLogin\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Login.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPayment\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/StudentPayment.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"UserManagementPage\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/UserManagementPage.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 \"AccessDenied\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/AccessDenied.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\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/components/reports/ExpenseReport.tsx\",\n \"src/components/reports/IncomeReport.tsx\",\n \"src/components/reports/SppReport.tsx\",\n \"src/pages/Reports.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
fajri89/madrasah-money-manager
|
Fix: Improve PDF report generation
Fixes PDF download issues and adds a report header with a logo.
|
{
"changed": [
"src/components/reports/ExpenseReport.tsx",
"src/components/reports/IncomeReport.tsx",
"src/components/reports/SppReport.tsx",
"src/pages/Reports.tsx"
],
"created": [
"src/utils/reportUtils.ts"
],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".animate-in",
"webkit-scrollbar",
".com",
".card-hover",
"components",
"slideInBottom",
"webkit-scrollbar-thumb",
"from",
"to",
"base",
".googleapis",
"fadeIn",
"root",
"hover",
"webkit-scrollbar-track",
"body",
".glass-card",
".slide-in-bottom",
".dark"
]
},
{
"functions": [
"App",
"toggleMenu"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"AuthProvider",
"checkAuth",
"logout",
"hasPermission",
"useAuth"
],
"keys": null,
"path": "src/contexts/AuthContext.tsx",
"selectors": null
},
{
"functions": [
"Dashboard",
"fetchData",
"getRandomTrend",
"renderAdminDashboard",
"renderBendaharaDashboard",
"renderKepalaSekolahDashboard",
"renderSiswaDashboard"
],
"keys": null,
"path": "src/components/Dashboard.tsx",
"selectors": null
},
{
"functions": [
"FinancialCharts"
],
"keys": null,
"path": "src/components/FinancialCharts.tsx",
"selectors": null
},
{
"functions": [
"WhatsAppNotification",
"handleSubmit"
],
"keys": null,
"path": "src/components/WhatsAppNotification.tsx",
"selectors": null
},
{
"functions": [
"UserProfile",
"getInitials",
"getRoleDisplayName"
],
"keys": null,
"path": "src/components/UserProfile.tsx",
"selectors": null
},
{
"functions": [
"updateMedia",
"handleRouteChange",
"handleClickOutside",
"getMenuItems"
],
"keys": null,
"path": "src/components/Navigation.tsx",
"selectors": null
},
{
"functions": [
"UserManagement",
"fetchUsers",
"handleAddUser",
"handleEditUser",
"handleDeleteUser",
"prepareEditUser",
"resetForm",
"formatRole"
],
"keys": null,
"path": "src/components/UserManagement.tsx",
"selectors": null
},
{
"functions": [
"StudentPayment",
"fetchData",
"getStatusColor",
"sendWhatsAppReminder"
],
"keys": null,
"path": "src/components/StudentPayment.tsx",
"selectors": null
},
{
"functions": [
"SppPaymentCheck",
"handleSearch"
],
"keys": null,
"path": "src/components/SppPaymentCheck.tsx",
"selectors": null
},
{
"functions": [
"TransactionHistory",
"fetchData"
],
"keys": null,
"path": "src/components/TransactionHistory.tsx",
"selectors": null
},
{
"functions": [
"FinanceCard",
"renderIcon"
],
"keys": null,
"path": "src/components/FinanceCard.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"FinancialSummary"
],
"keys": null,
"path": "src/components/FinancialSummary.tsx",
"selectors": null
},
{
"functions": [
"ExpenseReport",
"fetchExpenseData",
"handleMonthChange",
"handleYearChange",
"handleFilterTypeChange",
"handleDownloadExcel",
"handleDownloadPDF"
],
"keys": null,
"path": "src/components/reports/ExpenseReport.tsx",
"selectors": null
},
{
"functions": [
"SppReport",
"loadSppReport",
"handleDownloadExcel",
"handleDownloadPdf"
],
"keys": null,
"path": "src/components/reports/SppReport.tsx",
"selectors": null
},
{
"functions": [
"IncomeReport",
"fetchIncomeData",
"handleMonthChange",
"handleYearChange",
"handleFilterTypeChange",
"handleDownloadExcel",
"handleDownloadPDF"
],
"keys": null,
"path": "src/components/reports/IncomeReport.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": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"StudentDataTable",
"fetchData",
"handleDelete",
"onSubmit",
"handleImportButtonClick",
"handleFileChange",
"handleImportExcel"
],
"keys": null,
"path": "src/components/master/StudentDataTable.tsx",
"selectors": null
},
{
"functions": [
"ClassDataTable",
"fetchClasses",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/ClassDataTable.tsx",
"selectors": null
},
{
"functions": [
"DepartmentDataTable",
"fetchDepartments",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/DepartmentDataTable.tsx",
"selectors": null
},
{
"functions": [
"SchoolDataForm",
"fetchSchoolData",
"onSubmit"
],
"keys": null,
"path": "src/components/master/SchoolDataForm.tsx",
"selectors": null
},
{
"functions": [
"StudentPaymentForm",
"fetchStudents",
"handleStudentChange",
"onSubmit"
],
"keys": null,
"path": "src/components/student-payment/StudentPaymentForm.tsx",
"selectors": null
},
{
"functions": [
"StudentPaymentHistory",
"fetchData"
],
"keys": null,
"path": "src/components/student-payment/StudentPaymentHistory.tsx",
"selectors": null
},
{
"functions": [
"FinancialHistory",
"fetchData"
],
"keys": null,
"path": "src/components/finance/FinancialHistory.tsx",
"selectors": null
},
{
"functions": [
"ExpenseForm",
"onSubmit"
],
"keys": null,
"path": "src/components/finance/ExpenseForm.tsx",
"selectors": null
},
{
"functions": [
"IncomeForm",
"onSubmit"
],
"keys": null,
"path": "src/components/finance/IncomeForm.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"if"
],
"keys": null,
"path": "src/utils/api.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Reports",
"checkUserRole"
],
"keys": null,
"path": "src/pages/Reports.tsx",
"selectors": null
},
{
"functions": [
"MasterData",
"handleImportButtonClick",
"handleFileChange",
"handleImport"
],
"keys": null,
"path": "src/pages/MasterData.tsx",
"selectors": null
},
{
"functions": [
"Profile",
"handleUsernameChange",
"handlePasswordChange"
],
"keys": null,
"path": "src/pages/Profile.tsx",
"selectors": null
},
{
"functions": [
"Finance",
"checkUserRole"
],
"keys": null,
"path": "src/pages/Finance.tsx",
"selectors": null
},
{
"functions": [
"Login",
"handleStaffLogin",
"handleStudentLogin"
],
"keys": null,
"path": "src/pages/Login.tsx",
"selectors": null
},
{
"functions": [
"StudentPayment",
"checkUserRole"
],
"keys": null,
"path": "src/pages/StudentPayment.tsx",
"selectors": null
},
{
"functions": [
"UserManagementPage"
],
"keys": null,
"path": "src/pages/UserManagementPage.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"AccessDenied"
],
"keys": null,
"path": "src/pages/AccessDenied.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 24 |
[
{
"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: Improve PDF report generation\n\nFixes PDF download issues and adds a report header with a logo.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".animate-in\",\n \"webkit-scrollbar\",\n \".com\",\n \".card-hover\",\n \"components\",\n \"slideInBottom\",\n \"webkit-scrollbar-thumb\",\n \"from\",\n \"to\",\n \"base\",\n \".googleapis\",\n \"fadeIn\",\n \"root\",\n \"hover\",\n \"webkit-scrollbar-track\",\n \"body\",\n \".glass-card\",\n \".slide-in-bottom\",\n \".dark\"\n ]\n },\n {\n \"functions\": [\n \"App\",\n \"toggleMenu\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"checkAuth\",\n \"logout\",\n \"hasPermission\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/contexts/AuthContext.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Dashboard\",\n \"fetchData\",\n \"getRandomTrend\",\n \"renderAdminDashboard\",\n \"renderBendaharaDashboard\",\n \"renderKepalaSekolahDashboard\",\n \"renderSiswaDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialCharts\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinancialCharts.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WhatsAppNotification\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/WhatsAppNotification.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"UserProfile\",\n \"getInitials\",\n \"getRoleDisplayName\"\n ],\n \"keys\": null,\n \"path\": \"src/components/UserProfile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateMedia\",\n \"handleRouteChange\",\n \"handleClickOutside\",\n \"getMenuItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Navigation.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"UserManagement\",\n \"fetchUsers\",\n \"handleAddUser\",\n \"handleEditUser\",\n \"handleDeleteUser\",\n \"prepareEditUser\",\n \"resetForm\",\n \"formatRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/UserManagement.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPayment\",\n \"fetchData\",\n \"getStatusColor\",\n \"sendWhatsAppReminder\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StudentPayment.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SppPaymentCheck\",\n \"handleSearch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/SppPaymentCheck.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TransactionHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/TransactionHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinanceCard\",\n \"renderIcon\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinanceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialSummary\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinancialSummary.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ExpenseReport\",\n \"fetchExpenseData\",\n \"handleMonthChange\",\n \"handleYearChange\",\n \"handleFilterTypeChange\",\n \"handleDownloadExcel\",\n \"handleDownloadPDF\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/ExpenseReport.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SppReport\",\n \"loadSppReport\",\n \"handleDownloadExcel\",\n \"handleDownloadPdf\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/SppReport.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"IncomeReport\",\n \"fetchIncomeData\",\n \"handleMonthChange\",\n \"handleYearChange\",\n \"handleFilterTypeChange\",\n \"handleDownloadExcel\",\n \"handleDownloadPDF\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/IncomeReport.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 \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentDataTable\",\n \"fetchData\",\n \"handleDelete\",\n \"onSubmit\",\n \"handleImportButtonClick\",\n \"handleFileChange\",\n \"handleImportExcel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/StudentDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ClassDataTable\",\n \"fetchClasses\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/ClassDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DepartmentDataTable\",\n \"fetchDepartments\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/DepartmentDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SchoolDataForm\",\n \"fetchSchoolData\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/SchoolDataForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPaymentForm\",\n \"fetchStudents\",\n \"handleStudentChange\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/student-payment/StudentPaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPaymentHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/student-payment/StudentPaymentHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/FinancialHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ExpenseForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/ExpenseForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"IncomeForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/IncomeForm.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/utils/api.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Reports\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Reports.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MasterData\",\n \"handleImportButtonClick\",\n \"handleFileChange\",\n \"handleImport\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/MasterData.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Profile\",\n \"handleUsernameChange\",\n \"handlePasswordChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Finance\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Finance.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Login\",\n \"handleStaffLogin\",\n \"handleStudentLogin\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Login.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPayment\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/StudentPayment.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"UserManagementPage\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/UserManagementPage.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 \"AccessDenied\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/AccessDenied.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/components/reports/ExpenseReport.tsx\",\n \"src/components/reports/IncomeReport.tsx\",\n \"src/components/reports/SppReport.tsx\",\n \"src/pages/Reports.tsx\"\n ],\n \"created\": [\n \"src/utils/reportUtils.ts\"\n ],\n \"deleted\": []\n}"
}
] |
fajri89/madrasah-money-manager
|
Remove login button from header
Removes the login button from the header component.
|
{
"changed": [
"src/components/Header.tsx"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".animate-in",
"webkit-scrollbar",
".com",
".card-hover",
"components",
"slideInBottom",
"webkit-scrollbar-thumb",
"from",
"to",
"base",
".googleapis",
"fadeIn",
"root",
"hover",
"webkit-scrollbar-track",
"body",
".glass-card",
".slide-in-bottom",
".dark"
]
},
{
"functions": [
"App",
"toggleMenu"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"AuthProvider",
"checkAuth",
"logout",
"hasPermission",
"useAuth"
],
"keys": null,
"path": "src/contexts/AuthContext.tsx",
"selectors": null
},
{
"functions": [
"Dashboard",
"fetchData",
"getRandomTrend",
"renderAdminDashboard",
"renderBendaharaDashboard",
"renderKepalaSekolahDashboard",
"renderSiswaDashboard"
],
"keys": null,
"path": "src/components/Dashboard.tsx",
"selectors": null
},
{
"functions": [
"FinancialCharts"
],
"keys": null,
"path": "src/components/FinancialCharts.tsx",
"selectors": null
},
{
"functions": [
"WhatsAppNotification",
"handleSubmit"
],
"keys": null,
"path": "src/components/WhatsAppNotification.tsx",
"selectors": null
},
{
"functions": [
"UserProfile",
"getInitials",
"getRoleDisplayName"
],
"keys": null,
"path": "src/components/UserProfile.tsx",
"selectors": null
},
{
"functions": [
"updateMedia",
"handleRouteChange",
"handleClickOutside",
"getMenuItems"
],
"keys": null,
"path": "src/components/Navigation.tsx",
"selectors": null
},
{
"functions": [
"UserManagement",
"fetchUsers",
"handleAddUser",
"handleEditUser",
"handleDeleteUser",
"prepareEditUser",
"resetForm",
"formatRole"
],
"keys": null,
"path": "src/components/UserManagement.tsx",
"selectors": null
},
{
"functions": [
"StudentPayment",
"fetchData",
"getStatusColor",
"sendWhatsAppReminder"
],
"keys": null,
"path": "src/components/StudentPayment.tsx",
"selectors": null
},
{
"functions": [
"SppPaymentCheck",
"handleSearch"
],
"keys": null,
"path": "src/components/SppPaymentCheck.tsx",
"selectors": null
},
{
"functions": [
"TransactionHistory",
"fetchData"
],
"keys": null,
"path": "src/components/TransactionHistory.tsx",
"selectors": null
},
{
"functions": [
"FinanceCard",
"renderIcon"
],
"keys": null,
"path": "src/components/FinanceCard.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"FinancialSummary"
],
"keys": null,
"path": "src/components/FinancialSummary.tsx",
"selectors": null
},
{
"functions": [
"ExpenseReport",
"fetchExpenseData",
"handleMonthChange",
"handleYearChange",
"handleFilterTypeChange",
"handleDownloadExcel",
"handleDownloadPDF"
],
"keys": null,
"path": "src/components/reports/ExpenseReport.tsx",
"selectors": null
},
{
"functions": [
"SppReport",
"loadSppReport",
"handleDownloadExcel",
"handleDownloadPdf"
],
"keys": null,
"path": "src/components/reports/SppReport.tsx",
"selectors": null
},
{
"functions": [
"IncomeReport",
"fetchIncomeData",
"handleMonthChange",
"handleYearChange",
"handleFilterTypeChange",
"handleDownloadExcel",
"handleDownloadPDF"
],
"keys": null,
"path": "src/components/reports/IncomeReport.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": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"StudentDataTable",
"fetchData",
"handleDelete",
"onSubmit",
"handleImportButtonClick",
"handleFileChange",
"handleImportExcel"
],
"keys": null,
"path": "src/components/master/StudentDataTable.tsx",
"selectors": null
},
{
"functions": [
"ClassDataTable",
"fetchClasses",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/ClassDataTable.tsx",
"selectors": null
},
{
"functions": [
"DepartmentDataTable",
"fetchDepartments",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/DepartmentDataTable.tsx",
"selectors": null
},
{
"functions": [
"SchoolDataForm",
"fetchSchoolData",
"onSubmit"
],
"keys": null,
"path": "src/components/master/SchoolDataForm.tsx",
"selectors": null
},
{
"functions": [
"StudentPaymentForm",
"fetchStudents",
"handleStudentChange",
"onSubmit"
],
"keys": null,
"path": "src/components/student-payment/StudentPaymentForm.tsx",
"selectors": null
},
{
"functions": [
"StudentPaymentHistory",
"fetchData"
],
"keys": null,
"path": "src/components/student-payment/StudentPaymentHistory.tsx",
"selectors": null
},
{
"functions": [
"FinancialHistory",
"fetchData"
],
"keys": null,
"path": "src/components/finance/FinancialHistory.tsx",
"selectors": null
},
{
"functions": [
"ExpenseForm",
"onSubmit"
],
"keys": null,
"path": "src/components/finance/ExpenseForm.tsx",
"selectors": null
},
{
"functions": [
"IncomeForm",
"onSubmit"
],
"keys": null,
"path": "src/components/finance/IncomeForm.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"if"
],
"keys": null,
"path": "src/utils/api.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Reports",
"checkUserRole",
"handleTabChange"
],
"keys": null,
"path": "src/pages/Reports.tsx",
"selectors": null
},
{
"functions": [
"MasterData",
"handleImportButtonClick",
"handleFileChange",
"handleImport"
],
"keys": null,
"path": "src/pages/MasterData.tsx",
"selectors": null
},
{
"functions": [
"Profile",
"handleUsernameChange",
"handlePasswordChange"
],
"keys": null,
"path": "src/pages/Profile.tsx",
"selectors": null
},
{
"functions": [
"Finance",
"checkUserRole"
],
"keys": null,
"path": "src/pages/Finance.tsx",
"selectors": null
},
{
"functions": [
"Login",
"handleStaffLogin",
"handleStudentLogin"
],
"keys": null,
"path": "src/pages/Login.tsx",
"selectors": null
},
{
"functions": [
"StudentPayment",
"checkUserRole"
],
"keys": null,
"path": "src/pages/StudentPayment.tsx",
"selectors": null
},
{
"functions": [
"UserManagementPage"
],
"keys": null,
"path": "src/pages/UserManagementPage.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"AccessDenied"
],
"keys": null,
"path": "src/pages/AccessDenied.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 25 |
[
{
"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 login button from header\n\nRemoves the login button from the header 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 \"$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 \".animate-in\",\n \"webkit-scrollbar\",\n \".com\",\n \".card-hover\",\n \"components\",\n \"slideInBottom\",\n \"webkit-scrollbar-thumb\",\n \"from\",\n \"to\",\n \"base\",\n \".googleapis\",\n \"fadeIn\",\n \"root\",\n \"hover\",\n \"webkit-scrollbar-track\",\n \"body\",\n \".glass-card\",\n \".slide-in-bottom\",\n \".dark\"\n ]\n },\n {\n \"functions\": [\n \"App\",\n \"toggleMenu\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"checkAuth\",\n \"logout\",\n \"hasPermission\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/contexts/AuthContext.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Dashboard\",\n \"fetchData\",\n \"getRandomTrend\",\n \"renderAdminDashboard\",\n \"renderBendaharaDashboard\",\n \"renderKepalaSekolahDashboard\",\n \"renderSiswaDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialCharts\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinancialCharts.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WhatsAppNotification\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/WhatsAppNotification.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"UserProfile\",\n \"getInitials\",\n \"getRoleDisplayName\"\n ],\n \"keys\": null,\n \"path\": \"src/components/UserProfile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateMedia\",\n \"handleRouteChange\",\n \"handleClickOutside\",\n \"getMenuItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Navigation.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"UserManagement\",\n \"fetchUsers\",\n \"handleAddUser\",\n \"handleEditUser\",\n \"handleDeleteUser\",\n \"prepareEditUser\",\n \"resetForm\",\n \"formatRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/UserManagement.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPayment\",\n \"fetchData\",\n \"getStatusColor\",\n \"sendWhatsAppReminder\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StudentPayment.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SppPaymentCheck\",\n \"handleSearch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/SppPaymentCheck.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TransactionHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/TransactionHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinanceCard\",\n \"renderIcon\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinanceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialSummary\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinancialSummary.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ExpenseReport\",\n \"fetchExpenseData\",\n \"handleMonthChange\",\n \"handleYearChange\",\n \"handleFilterTypeChange\",\n \"handleDownloadExcel\",\n \"handleDownloadPDF\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/ExpenseReport.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SppReport\",\n \"loadSppReport\",\n \"handleDownloadExcel\",\n \"handleDownloadPdf\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/SppReport.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"IncomeReport\",\n \"fetchIncomeData\",\n \"handleMonthChange\",\n \"handleYearChange\",\n \"handleFilterTypeChange\",\n \"handleDownloadExcel\",\n \"handleDownloadPDF\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/IncomeReport.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 \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentDataTable\",\n \"fetchData\",\n \"handleDelete\",\n \"onSubmit\",\n \"handleImportButtonClick\",\n \"handleFileChange\",\n \"handleImportExcel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/StudentDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ClassDataTable\",\n \"fetchClasses\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/ClassDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DepartmentDataTable\",\n \"fetchDepartments\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/DepartmentDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SchoolDataForm\",\n \"fetchSchoolData\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/SchoolDataForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPaymentForm\",\n \"fetchStudents\",\n \"handleStudentChange\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/student-payment/StudentPaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPaymentHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/student-payment/StudentPaymentHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/FinancialHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ExpenseForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/ExpenseForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"IncomeForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/IncomeForm.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/utils/api.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Reports\",\n \"checkUserRole\",\n \"handleTabChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Reports.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MasterData\",\n \"handleImportButtonClick\",\n \"handleFileChange\",\n \"handleImport\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/MasterData.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Profile\",\n \"handleUsernameChange\",\n \"handlePasswordChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Finance\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Finance.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Login\",\n \"handleStaffLogin\",\n \"handleStudentLogin\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Login.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPayment\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/StudentPayment.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"UserManagementPage\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/UserManagementPage.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 \"AccessDenied\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/AccessDenied.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/components/Header.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
fajri89/madrasah-money-manager
|
Fix: Marquee text on header
Implement marquee effect for header text on desktop and adjust font size for mobile.
|
{
"changed": [
"src/components/Header.tsx",
"src/index.css"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".animate-in",
"webkit-scrollbar",
".com",
".card-hover",
"components",
"slideInBottom",
"webkit-scrollbar-thumb",
"from",
"to",
"base",
".googleapis",
"fadeIn",
"root",
"hover",
"webkit-scrollbar-track",
"body",
".glass-card",
".slide-in-bottom",
".dark"
]
},
{
"functions": [
"App",
"toggleMenu"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"AuthProvider",
"checkAuth",
"logout",
"hasPermission",
"useAuth"
],
"keys": null,
"path": "src/contexts/AuthContext.tsx",
"selectors": null
},
{
"functions": [
"Dashboard",
"fetchData",
"getRandomTrend",
"renderAdminDashboard",
"renderBendaharaDashboard",
"renderKepalaSekolahDashboard",
"renderSiswaDashboard"
],
"keys": null,
"path": "src/components/Dashboard.tsx",
"selectors": null
},
{
"functions": [
"FinancialCharts"
],
"keys": null,
"path": "src/components/FinancialCharts.tsx",
"selectors": null
},
{
"functions": [
"WhatsAppNotification",
"handleSubmit"
],
"keys": null,
"path": "src/components/WhatsAppNotification.tsx",
"selectors": null
},
{
"functions": [
"UserProfile",
"getInitials",
"getRoleDisplayName"
],
"keys": null,
"path": "src/components/UserProfile.tsx",
"selectors": null
},
{
"functions": [
"updateMedia",
"handleRouteChange",
"handleClickOutside",
"getMenuItems"
],
"keys": null,
"path": "src/components/Navigation.tsx",
"selectors": null
},
{
"functions": [
"UserManagement",
"fetchUsers",
"handleAddUser",
"handleEditUser",
"handleDeleteUser",
"prepareEditUser",
"resetForm",
"formatRole"
],
"keys": null,
"path": "src/components/UserManagement.tsx",
"selectors": null
},
{
"functions": [
"StudentPayment",
"fetchData",
"getStatusColor",
"sendWhatsAppReminder"
],
"keys": null,
"path": "src/components/StudentPayment.tsx",
"selectors": null
},
{
"functions": [
"SppPaymentCheck",
"handleSearch"
],
"keys": null,
"path": "src/components/SppPaymentCheck.tsx",
"selectors": null
},
{
"functions": [
"TransactionHistory",
"fetchData"
],
"keys": null,
"path": "src/components/TransactionHistory.tsx",
"selectors": null
},
{
"functions": [
"FinanceCard",
"renderIcon"
],
"keys": null,
"path": "src/components/FinanceCard.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"FinancialSummary"
],
"keys": null,
"path": "src/components/FinancialSummary.tsx",
"selectors": null
},
{
"functions": [
"ExpenseReport",
"fetchExpenseData",
"handleMonthChange",
"handleYearChange",
"handleFilterTypeChange",
"handleDownloadExcel",
"handleDownloadPDF"
],
"keys": null,
"path": "src/components/reports/ExpenseReport.tsx",
"selectors": null
},
{
"functions": [
"SppReport",
"loadSppReport",
"handleDownloadExcel",
"handleDownloadPdf"
],
"keys": null,
"path": "src/components/reports/SppReport.tsx",
"selectors": null
},
{
"functions": [
"IncomeReport",
"fetchIncomeData",
"handleMonthChange",
"handleYearChange",
"handleFilterTypeChange",
"handleDownloadExcel",
"handleDownloadPDF"
],
"keys": null,
"path": "src/components/reports/IncomeReport.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": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"StudentDataTable",
"fetchData",
"handleDelete",
"onSubmit",
"handleImportButtonClick",
"handleFileChange",
"handleImportExcel"
],
"keys": null,
"path": "src/components/master/StudentDataTable.tsx",
"selectors": null
},
{
"functions": [
"ClassDataTable",
"fetchClasses",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/ClassDataTable.tsx",
"selectors": null
},
{
"functions": [
"DepartmentDataTable",
"fetchDepartments",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/DepartmentDataTable.tsx",
"selectors": null
},
{
"functions": [
"SchoolDataForm",
"fetchSchoolData",
"onSubmit"
],
"keys": null,
"path": "src/components/master/SchoolDataForm.tsx",
"selectors": null
},
{
"functions": [
"StudentPaymentForm",
"fetchStudents",
"handleStudentChange",
"onSubmit"
],
"keys": null,
"path": "src/components/student-payment/StudentPaymentForm.tsx",
"selectors": null
},
{
"functions": [
"StudentPaymentHistory",
"fetchData"
],
"keys": null,
"path": "src/components/student-payment/StudentPaymentHistory.tsx",
"selectors": null
},
{
"functions": [
"FinancialHistory",
"fetchData"
],
"keys": null,
"path": "src/components/finance/FinancialHistory.tsx",
"selectors": null
},
{
"functions": [
"ExpenseForm",
"onSubmit"
],
"keys": null,
"path": "src/components/finance/ExpenseForm.tsx",
"selectors": null
},
{
"functions": [
"IncomeForm",
"onSubmit"
],
"keys": null,
"path": "src/components/finance/IncomeForm.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"if"
],
"keys": null,
"path": "src/utils/api.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Reports",
"checkUserRole",
"handleTabChange"
],
"keys": null,
"path": "src/pages/Reports.tsx",
"selectors": null
},
{
"functions": [
"MasterData",
"handleImportButtonClick",
"handleFileChange",
"handleImport"
],
"keys": null,
"path": "src/pages/MasterData.tsx",
"selectors": null
},
{
"functions": [
"Profile",
"handleUsernameChange",
"handlePasswordChange"
],
"keys": null,
"path": "src/pages/Profile.tsx",
"selectors": null
},
{
"functions": [
"Finance",
"checkUserRole"
],
"keys": null,
"path": "src/pages/Finance.tsx",
"selectors": null
},
{
"functions": [
"Login",
"handleStaffLogin",
"handleStudentLogin"
],
"keys": null,
"path": "src/pages/Login.tsx",
"selectors": null
},
{
"functions": [
"StudentPayment",
"checkUserRole"
],
"keys": null,
"path": "src/pages/StudentPayment.tsx",
"selectors": null
},
{
"functions": [
"UserManagementPage"
],
"keys": null,
"path": "src/pages/UserManagementPage.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"AccessDenied"
],
"keys": null,
"path": "src/pages/AccessDenied.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 26 |
[
{
"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: Marquee text on header\n\nImplement marquee effect for header text on desktop and adjust font size for mobile.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".animate-in\",\n \"webkit-scrollbar\",\n \".com\",\n \".card-hover\",\n \"components\",\n \"slideInBottom\",\n \"webkit-scrollbar-thumb\",\n \"from\",\n \"to\",\n \"base\",\n \".googleapis\",\n \"fadeIn\",\n \"root\",\n \"hover\",\n \"webkit-scrollbar-track\",\n \"body\",\n \".glass-card\",\n \".slide-in-bottom\",\n \".dark\"\n ]\n },\n {\n \"functions\": [\n \"App\",\n \"toggleMenu\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"checkAuth\",\n \"logout\",\n \"hasPermission\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/contexts/AuthContext.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Dashboard\",\n \"fetchData\",\n \"getRandomTrend\",\n \"renderAdminDashboard\",\n \"renderBendaharaDashboard\",\n \"renderKepalaSekolahDashboard\",\n \"renderSiswaDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialCharts\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinancialCharts.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WhatsAppNotification\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/WhatsAppNotification.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"UserProfile\",\n \"getInitials\",\n \"getRoleDisplayName\"\n ],\n \"keys\": null,\n \"path\": \"src/components/UserProfile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateMedia\",\n \"handleRouteChange\",\n \"handleClickOutside\",\n \"getMenuItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Navigation.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"UserManagement\",\n \"fetchUsers\",\n \"handleAddUser\",\n \"handleEditUser\",\n \"handleDeleteUser\",\n \"prepareEditUser\",\n \"resetForm\",\n \"formatRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/UserManagement.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPayment\",\n \"fetchData\",\n \"getStatusColor\",\n \"sendWhatsAppReminder\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StudentPayment.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SppPaymentCheck\",\n \"handleSearch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/SppPaymentCheck.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TransactionHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/TransactionHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinanceCard\",\n \"renderIcon\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinanceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialSummary\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinancialSummary.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ExpenseReport\",\n \"fetchExpenseData\",\n \"handleMonthChange\",\n \"handleYearChange\",\n \"handleFilterTypeChange\",\n \"handleDownloadExcel\",\n \"handleDownloadPDF\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/ExpenseReport.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SppReport\",\n \"loadSppReport\",\n \"handleDownloadExcel\",\n \"handleDownloadPdf\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/SppReport.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"IncomeReport\",\n \"fetchIncomeData\",\n \"handleMonthChange\",\n \"handleYearChange\",\n \"handleFilterTypeChange\",\n \"handleDownloadExcel\",\n \"handleDownloadPDF\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/IncomeReport.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 \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentDataTable\",\n \"fetchData\",\n \"handleDelete\",\n \"onSubmit\",\n \"handleImportButtonClick\",\n \"handleFileChange\",\n \"handleImportExcel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/StudentDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ClassDataTable\",\n \"fetchClasses\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/ClassDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DepartmentDataTable\",\n \"fetchDepartments\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/DepartmentDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SchoolDataForm\",\n \"fetchSchoolData\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/SchoolDataForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPaymentForm\",\n \"fetchStudents\",\n \"handleStudentChange\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/student-payment/StudentPaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPaymentHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/student-payment/StudentPaymentHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/FinancialHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ExpenseForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/ExpenseForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"IncomeForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/IncomeForm.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/utils/api.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Reports\",\n \"checkUserRole\",\n \"handleTabChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Reports.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MasterData\",\n \"handleImportButtonClick\",\n \"handleFileChange\",\n \"handleImport\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/MasterData.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Profile\",\n \"handleUsernameChange\",\n \"handlePasswordChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Finance\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Finance.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Login\",\n \"handleStaffLogin\",\n \"handleStudentLogin\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Login.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPayment\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/StudentPayment.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"UserManagementPage\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/UserManagementPage.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 \"AccessDenied\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/AccessDenied.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/components/Header.tsx\",\n \"src/index.css\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
fajri89/madrasah-money-manager
|
Remove unnecessary header elements
Remove the logo and title from the report header.
|
{
"changed": [
"src/components/Header.tsx"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".animate-in",
".text-scroll-container",
"webkit-scrollbar",
".com",
".card-hover",
"components",
"slideInBottom",
"webkit-scrollbar-thumb",
"from",
"to",
"base",
".googleapis",
"fadeIn",
"root",
"hover",
"webkit-scrollbar-track",
".text-scroll",
"body",
".glass-card",
".slide-in-bottom",
"textScroll",
".dark"
]
},
{
"functions": [
"App",
"toggleMenu"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"AuthProvider",
"checkAuth",
"logout",
"hasPermission",
"useAuth"
],
"keys": null,
"path": "src/contexts/AuthContext.tsx",
"selectors": null
},
{
"functions": [
"Dashboard",
"fetchData",
"getRandomTrend",
"renderAdminDashboard",
"renderBendaharaDashboard",
"renderKepalaSekolahDashboard",
"renderSiswaDashboard"
],
"keys": null,
"path": "src/components/Dashboard.tsx",
"selectors": null
},
{
"functions": [
"FinancialCharts"
],
"keys": null,
"path": "src/components/FinancialCharts.tsx",
"selectors": null
},
{
"functions": [
"WhatsAppNotification",
"handleSubmit"
],
"keys": null,
"path": "src/components/WhatsAppNotification.tsx",
"selectors": null
},
{
"functions": [
"UserProfile",
"getInitials",
"getRoleDisplayName"
],
"keys": null,
"path": "src/components/UserProfile.tsx",
"selectors": null
},
{
"functions": [
"updateMedia",
"handleRouteChange",
"handleClickOutside",
"getMenuItems"
],
"keys": null,
"path": "src/components/Navigation.tsx",
"selectors": null
},
{
"functions": [
"UserManagement",
"fetchUsers",
"handleAddUser",
"handleEditUser",
"handleDeleteUser",
"prepareEditUser",
"resetForm",
"formatRole"
],
"keys": null,
"path": "src/components/UserManagement.tsx",
"selectors": null
},
{
"functions": [
"StudentPayment",
"fetchData",
"getStatusColor",
"sendWhatsAppReminder"
],
"keys": null,
"path": "src/components/StudentPayment.tsx",
"selectors": null
},
{
"functions": [
"SppPaymentCheck",
"handleSearch"
],
"keys": null,
"path": "src/components/SppPaymentCheck.tsx",
"selectors": null
},
{
"functions": [
"TransactionHistory",
"fetchData"
],
"keys": null,
"path": "src/components/TransactionHistory.tsx",
"selectors": null
},
{
"functions": [
"FinanceCard",
"renderIcon"
],
"keys": null,
"path": "src/components/FinanceCard.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"FinancialSummary"
],
"keys": null,
"path": "src/components/FinancialSummary.tsx",
"selectors": null
},
{
"functions": [
"ExpenseReport",
"fetchExpenseData",
"handleMonthChange",
"handleYearChange",
"handleFilterTypeChange",
"handleDownloadExcel",
"handleDownloadPDF"
],
"keys": null,
"path": "src/components/reports/ExpenseReport.tsx",
"selectors": null
},
{
"functions": [
"SppReport",
"loadSppReport",
"handleDownloadExcel",
"handleDownloadPdf"
],
"keys": null,
"path": "src/components/reports/SppReport.tsx",
"selectors": null
},
{
"functions": [
"IncomeReport",
"fetchIncomeData",
"handleMonthChange",
"handleYearChange",
"handleFilterTypeChange",
"handleDownloadExcel",
"handleDownloadPDF"
],
"keys": null,
"path": "src/components/reports/IncomeReport.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": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"StudentDataTable",
"fetchData",
"handleDelete",
"onSubmit",
"handleImportButtonClick",
"handleFileChange",
"handleImportExcel"
],
"keys": null,
"path": "src/components/master/StudentDataTable.tsx",
"selectors": null
},
{
"functions": [
"ClassDataTable",
"fetchClasses",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/ClassDataTable.tsx",
"selectors": null
},
{
"functions": [
"DepartmentDataTable",
"fetchDepartments",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/DepartmentDataTable.tsx",
"selectors": null
},
{
"functions": [
"SchoolDataForm",
"fetchSchoolData",
"onSubmit"
],
"keys": null,
"path": "src/components/master/SchoolDataForm.tsx",
"selectors": null
},
{
"functions": [
"StudentPaymentForm",
"fetchStudents",
"handleStudentChange",
"onSubmit"
],
"keys": null,
"path": "src/components/student-payment/StudentPaymentForm.tsx",
"selectors": null
},
{
"functions": [
"StudentPaymentHistory",
"fetchData"
],
"keys": null,
"path": "src/components/student-payment/StudentPaymentHistory.tsx",
"selectors": null
},
{
"functions": [
"FinancialHistory",
"fetchData"
],
"keys": null,
"path": "src/components/finance/FinancialHistory.tsx",
"selectors": null
},
{
"functions": [
"ExpenseForm",
"onSubmit"
],
"keys": null,
"path": "src/components/finance/ExpenseForm.tsx",
"selectors": null
},
{
"functions": [
"IncomeForm",
"onSubmit"
],
"keys": null,
"path": "src/components/finance/IncomeForm.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"if"
],
"keys": null,
"path": "src/utils/api.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Reports",
"checkUserRole",
"handleTabChange"
],
"keys": null,
"path": "src/pages/Reports.tsx",
"selectors": null
},
{
"functions": [
"MasterData",
"handleImportButtonClick",
"handleFileChange",
"handleImport"
],
"keys": null,
"path": "src/pages/MasterData.tsx",
"selectors": null
},
{
"functions": [
"Profile",
"handleUsernameChange",
"handlePasswordChange"
],
"keys": null,
"path": "src/pages/Profile.tsx",
"selectors": null
},
{
"functions": [
"Finance",
"checkUserRole"
],
"keys": null,
"path": "src/pages/Finance.tsx",
"selectors": null
},
{
"functions": [
"Login",
"handleStaffLogin",
"handleStudentLogin"
],
"keys": null,
"path": "src/pages/Login.tsx",
"selectors": null
},
{
"functions": [
"StudentPayment",
"checkUserRole"
],
"keys": null,
"path": "src/pages/StudentPayment.tsx",
"selectors": null
},
{
"functions": [
"UserManagementPage"
],
"keys": null,
"path": "src/pages/UserManagementPage.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"AccessDenied"
],
"keys": null,
"path": "src/pages/AccessDenied.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 27 |
[
{
"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 unnecessary header elements\n\nRemove the logo and title from the report header.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".animate-in\",\n \".text-scroll-container\",\n \"webkit-scrollbar\",\n \".com\",\n \".card-hover\",\n \"components\",\n \"slideInBottom\",\n \"webkit-scrollbar-thumb\",\n \"from\",\n \"to\",\n \"base\",\n \".googleapis\",\n \"fadeIn\",\n \"root\",\n \"hover\",\n \"webkit-scrollbar-track\",\n \".text-scroll\",\n \"body\",\n \".glass-card\",\n \".slide-in-bottom\",\n \"textScroll\",\n \".dark\"\n ]\n },\n {\n \"functions\": [\n \"App\",\n \"toggleMenu\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"checkAuth\",\n \"logout\",\n \"hasPermission\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/contexts/AuthContext.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Dashboard\",\n \"fetchData\",\n \"getRandomTrend\",\n \"renderAdminDashboard\",\n \"renderBendaharaDashboard\",\n \"renderKepalaSekolahDashboard\",\n \"renderSiswaDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialCharts\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinancialCharts.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WhatsAppNotification\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/WhatsAppNotification.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"UserProfile\",\n \"getInitials\",\n \"getRoleDisplayName\"\n ],\n \"keys\": null,\n \"path\": \"src/components/UserProfile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateMedia\",\n \"handleRouteChange\",\n \"handleClickOutside\",\n \"getMenuItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Navigation.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"UserManagement\",\n \"fetchUsers\",\n \"handleAddUser\",\n \"handleEditUser\",\n \"handleDeleteUser\",\n \"prepareEditUser\",\n \"resetForm\",\n \"formatRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/UserManagement.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPayment\",\n \"fetchData\",\n \"getStatusColor\",\n \"sendWhatsAppReminder\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StudentPayment.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SppPaymentCheck\",\n \"handleSearch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/SppPaymentCheck.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TransactionHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/TransactionHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinanceCard\",\n \"renderIcon\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinanceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialSummary\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinancialSummary.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ExpenseReport\",\n \"fetchExpenseData\",\n \"handleMonthChange\",\n \"handleYearChange\",\n \"handleFilterTypeChange\",\n \"handleDownloadExcel\",\n \"handleDownloadPDF\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/ExpenseReport.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SppReport\",\n \"loadSppReport\",\n \"handleDownloadExcel\",\n \"handleDownloadPdf\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/SppReport.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"IncomeReport\",\n \"fetchIncomeData\",\n \"handleMonthChange\",\n \"handleYearChange\",\n \"handleFilterTypeChange\",\n \"handleDownloadExcel\",\n \"handleDownloadPDF\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/IncomeReport.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 \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentDataTable\",\n \"fetchData\",\n \"handleDelete\",\n \"onSubmit\",\n \"handleImportButtonClick\",\n \"handleFileChange\",\n \"handleImportExcel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/StudentDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ClassDataTable\",\n \"fetchClasses\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/ClassDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DepartmentDataTable\",\n \"fetchDepartments\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/DepartmentDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SchoolDataForm\",\n \"fetchSchoolData\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/SchoolDataForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPaymentForm\",\n \"fetchStudents\",\n \"handleStudentChange\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/student-payment/StudentPaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPaymentHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/student-payment/StudentPaymentHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/FinancialHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ExpenseForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/ExpenseForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"IncomeForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/IncomeForm.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/utils/api.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Reports\",\n \"checkUserRole\",\n \"handleTabChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Reports.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MasterData\",\n \"handleImportButtonClick\",\n \"handleFileChange\",\n \"handleImport\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/MasterData.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Profile\",\n \"handleUsernameChange\",\n \"handlePasswordChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Finance\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Finance.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Login\",\n \"handleStaffLogin\",\n \"handleStudentLogin\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Login.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPayment\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/StudentPayment.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"UserManagementPage\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/UserManagementPage.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 \"AccessDenied\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/AccessDenied.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/components/Header.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
fajri89/madrasah-money-manager
|
Connect to Supabase and persist data
Connect the application to Supabase using the provided URL and Anon Key. Implement data persistence for manually entered and imported data, ensuring data is saved to Supabase and remains after logout/login.
|
{
"changed": [
"src/components/master/ClassDataTable.tsx",
"src/components/master/DepartmentDataTable.tsx",
"src/components/master/SchoolDataForm.tsx",
"src/components/master/StudentDataTable.tsx",
"src/utils/api.ts"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".animate-in",
".text-scroll-container",
"webkit-scrollbar",
".com",
".card-hover",
"components",
"slideInBottom",
"webkit-scrollbar-thumb",
"from",
"to",
"base",
".googleapis",
"fadeIn",
"root",
"hover",
"webkit-scrollbar-track",
".text-scroll",
"body",
".glass-card",
".slide-in-bottom",
"textScroll",
".dark"
]
},
{
"functions": [
"App",
"toggleMenu"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"AuthProvider",
"checkAuth",
"logout",
"hasPermission",
"useAuth"
],
"keys": null,
"path": "src/contexts/AuthContext.tsx",
"selectors": null
},
{
"functions": [
"Dashboard",
"fetchData",
"getRandomTrend",
"renderAdminDashboard",
"renderBendaharaDashboard",
"renderKepalaSekolahDashboard",
"renderSiswaDashboard"
],
"keys": null,
"path": "src/components/Dashboard.tsx",
"selectors": null
},
{
"functions": [
"FinancialCharts"
],
"keys": null,
"path": "src/components/FinancialCharts.tsx",
"selectors": null
},
{
"functions": [
"WhatsAppNotification",
"handleSubmit"
],
"keys": null,
"path": "src/components/WhatsAppNotification.tsx",
"selectors": null
},
{
"functions": [
"UserProfile",
"getInitials",
"getRoleDisplayName"
],
"keys": null,
"path": "src/components/UserProfile.tsx",
"selectors": null
},
{
"functions": [
"updateMedia",
"handleRouteChange",
"handleClickOutside",
"getMenuItems"
],
"keys": null,
"path": "src/components/Navigation.tsx",
"selectors": null
},
{
"functions": [
"UserManagement",
"fetchUsers",
"handleAddUser",
"handleEditUser",
"handleDeleteUser",
"prepareEditUser",
"resetForm",
"formatRole"
],
"keys": null,
"path": "src/components/UserManagement.tsx",
"selectors": null
},
{
"functions": [
"StudentPayment",
"fetchData",
"getStatusColor",
"sendWhatsAppReminder"
],
"keys": null,
"path": "src/components/StudentPayment.tsx",
"selectors": null
},
{
"functions": [
"SppPaymentCheck",
"handleSearch"
],
"keys": null,
"path": "src/components/SppPaymentCheck.tsx",
"selectors": null
},
{
"functions": [
"TransactionHistory",
"fetchData"
],
"keys": null,
"path": "src/components/TransactionHistory.tsx",
"selectors": null
},
{
"functions": [
"FinanceCard",
"renderIcon"
],
"keys": null,
"path": "src/components/FinanceCard.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"FinancialSummary"
],
"keys": null,
"path": "src/components/FinancialSummary.tsx",
"selectors": null
},
{
"functions": [
"ExpenseReport",
"fetchExpenseData",
"handleMonthChange",
"handleYearChange",
"handleFilterTypeChange",
"handleDownloadExcel",
"handleDownloadPDF"
],
"keys": null,
"path": "src/components/reports/ExpenseReport.tsx",
"selectors": null
},
{
"functions": [
"SppReport",
"loadSppReport",
"handleDownloadExcel",
"handleDownloadPdf"
],
"keys": null,
"path": "src/components/reports/SppReport.tsx",
"selectors": null
},
{
"functions": [
"IncomeReport",
"fetchIncomeData",
"handleMonthChange",
"handleYearChange",
"handleFilterTypeChange",
"handleDownloadExcel",
"handleDownloadPDF"
],
"keys": null,
"path": "src/components/reports/IncomeReport.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": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"StudentDataTable",
"fetchData",
"handleDelete",
"onSubmit",
"handleImportButtonClick",
"handleFileChange",
"handleImportExcel"
],
"keys": null,
"path": "src/components/master/StudentDataTable.tsx",
"selectors": null
},
{
"functions": [
"ClassDataTable",
"fetchClasses",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/ClassDataTable.tsx",
"selectors": null
},
{
"functions": [
"DepartmentDataTable",
"fetchDepartments",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/DepartmentDataTable.tsx",
"selectors": null
},
{
"functions": [
"SchoolDataForm",
"fetchSchoolData",
"onSubmit"
],
"keys": null,
"path": "src/components/master/SchoolDataForm.tsx",
"selectors": null
},
{
"functions": [
"StudentPaymentForm",
"fetchStudents",
"handleStudentChange",
"onSubmit"
],
"keys": null,
"path": "src/components/student-payment/StudentPaymentForm.tsx",
"selectors": null
},
{
"functions": [
"StudentPaymentHistory",
"fetchData"
],
"keys": null,
"path": "src/components/student-payment/StudentPaymentHistory.tsx",
"selectors": null
},
{
"functions": [
"FinancialHistory",
"fetchData"
],
"keys": null,
"path": "src/components/finance/FinancialHistory.tsx",
"selectors": null
},
{
"functions": [
"ExpenseForm",
"onSubmit"
],
"keys": null,
"path": "src/components/finance/ExpenseForm.tsx",
"selectors": null
},
{
"functions": [
"IncomeForm",
"onSubmit"
],
"keys": null,
"path": "src/components/finance/IncomeForm.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"if"
],
"keys": null,
"path": "src/utils/api.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Reports",
"checkUserRole",
"handleTabChange"
],
"keys": null,
"path": "src/pages/Reports.tsx",
"selectors": null
},
{
"functions": [
"MasterData",
"handleImportButtonClick",
"handleFileChange",
"handleImport"
],
"keys": null,
"path": "src/pages/MasterData.tsx",
"selectors": null
},
{
"functions": [
"Profile",
"handleUsernameChange",
"handlePasswordChange"
],
"keys": null,
"path": "src/pages/Profile.tsx",
"selectors": null
},
{
"functions": [
"Finance",
"checkUserRole"
],
"keys": null,
"path": "src/pages/Finance.tsx",
"selectors": null
},
{
"functions": [
"Login",
"handleStaffLogin",
"handleStudentLogin"
],
"keys": null,
"path": "src/pages/Login.tsx",
"selectors": null
},
{
"functions": [
"StudentPayment",
"checkUserRole"
],
"keys": null,
"path": "src/pages/StudentPayment.tsx",
"selectors": null
},
{
"functions": [
"UserManagementPage"
],
"keys": null,
"path": "src/pages/UserManagementPage.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"AccessDenied"
],
"keys": null,
"path": "src/pages/AccessDenied.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 28 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nConnect to Supabase and persist data\n\nConnect the application to Supabase using the provided URL and Anon Key. Implement data persistence for manually entered and imported data, ensuring data is saved to Supabase and remains after logout/login.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".animate-in\",\n \".text-scroll-container\",\n \"webkit-scrollbar\",\n \".com\",\n \".card-hover\",\n \"components\",\n \"slideInBottom\",\n \"webkit-scrollbar-thumb\",\n \"from\",\n \"to\",\n \"base\",\n \".googleapis\",\n \"fadeIn\",\n \"root\",\n \"hover\",\n \"webkit-scrollbar-track\",\n \".text-scroll\",\n \"body\",\n \".glass-card\",\n \".slide-in-bottom\",\n \"textScroll\",\n \".dark\"\n ]\n },\n {\n \"functions\": [\n \"App\",\n \"toggleMenu\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"checkAuth\",\n \"logout\",\n \"hasPermission\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/contexts/AuthContext.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Dashboard\",\n \"fetchData\",\n \"getRandomTrend\",\n \"renderAdminDashboard\",\n \"renderBendaharaDashboard\",\n \"renderKepalaSekolahDashboard\",\n \"renderSiswaDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialCharts\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinancialCharts.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WhatsAppNotification\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/WhatsAppNotification.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"UserProfile\",\n \"getInitials\",\n \"getRoleDisplayName\"\n ],\n \"keys\": null,\n \"path\": \"src/components/UserProfile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateMedia\",\n \"handleRouteChange\",\n \"handleClickOutside\",\n \"getMenuItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Navigation.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"UserManagement\",\n \"fetchUsers\",\n \"handleAddUser\",\n \"handleEditUser\",\n \"handleDeleteUser\",\n \"prepareEditUser\",\n \"resetForm\",\n \"formatRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/UserManagement.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPayment\",\n \"fetchData\",\n \"getStatusColor\",\n \"sendWhatsAppReminder\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StudentPayment.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SppPaymentCheck\",\n \"handleSearch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/SppPaymentCheck.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TransactionHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/TransactionHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinanceCard\",\n \"renderIcon\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinanceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialSummary\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinancialSummary.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ExpenseReport\",\n \"fetchExpenseData\",\n \"handleMonthChange\",\n \"handleYearChange\",\n \"handleFilterTypeChange\",\n \"handleDownloadExcel\",\n \"handleDownloadPDF\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/ExpenseReport.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SppReport\",\n \"loadSppReport\",\n \"handleDownloadExcel\",\n \"handleDownloadPdf\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/SppReport.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"IncomeReport\",\n \"fetchIncomeData\",\n \"handleMonthChange\",\n \"handleYearChange\",\n \"handleFilterTypeChange\",\n \"handleDownloadExcel\",\n \"handleDownloadPDF\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/IncomeReport.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 \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentDataTable\",\n \"fetchData\",\n \"handleDelete\",\n \"onSubmit\",\n \"handleImportButtonClick\",\n \"handleFileChange\",\n \"handleImportExcel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/StudentDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ClassDataTable\",\n \"fetchClasses\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/ClassDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DepartmentDataTable\",\n \"fetchDepartments\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/DepartmentDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SchoolDataForm\",\n \"fetchSchoolData\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/SchoolDataForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPaymentForm\",\n \"fetchStudents\",\n \"handleStudentChange\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/student-payment/StudentPaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPaymentHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/student-payment/StudentPaymentHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/FinancialHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ExpenseForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/ExpenseForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"IncomeForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/IncomeForm.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/utils/api.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Reports\",\n \"checkUserRole\",\n \"handleTabChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Reports.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MasterData\",\n \"handleImportButtonClick\",\n \"handleFileChange\",\n \"handleImport\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/MasterData.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Profile\",\n \"handleUsernameChange\",\n \"handlePasswordChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Finance\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Finance.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Login\",\n \"handleStaffLogin\",\n \"handleStudentLogin\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Login.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPayment\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/StudentPayment.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"UserManagementPage\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/UserManagementPage.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 \"AccessDenied\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/AccessDenied.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/components/master/ClassDataTable.tsx\",\n \"src/components/master/DepartmentDataTable.tsx\",\n \"src/components/master/SchoolDataForm.tsx\",\n \"src/components/master/StudentDataTable.tsx\",\n \"src/utils/api.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
fajri89/madrasah-money-manager
|
Create _redirects
|
{
"changed": [],
"created": [
"public/_redirects"
],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".animate-in",
".text-scroll-container",
"webkit-scrollbar",
".com",
".card-hover",
"components",
"slideInBottom",
"webkit-scrollbar-thumb",
"from",
"to",
"base",
".googleapis",
"fadeIn",
"root",
"hover",
"webkit-scrollbar-track",
".text-scroll",
"body",
".glass-card",
".slide-in-bottom",
"textScroll",
".dark"
]
},
{
"functions": [
"App",
"toggleMenu"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"AuthProvider",
"checkAuth",
"logout",
"hasPermission",
"useAuth"
],
"keys": null,
"path": "src/contexts/AuthContext.tsx",
"selectors": null
},
{
"functions": [
"Dashboard",
"fetchData",
"getRandomTrend",
"renderAdminDashboard",
"renderBendaharaDashboard",
"renderKepalaSekolahDashboard",
"renderSiswaDashboard"
],
"keys": null,
"path": "src/components/Dashboard.tsx",
"selectors": null
},
{
"functions": [
"FinancialCharts"
],
"keys": null,
"path": "src/components/FinancialCharts.tsx",
"selectors": null
},
{
"functions": [
"WhatsAppNotification",
"handleSubmit"
],
"keys": null,
"path": "src/components/WhatsAppNotification.tsx",
"selectors": null
},
{
"functions": [
"UserProfile",
"getInitials",
"getRoleDisplayName"
],
"keys": null,
"path": "src/components/UserProfile.tsx",
"selectors": null
},
{
"functions": [
"updateMedia",
"handleRouteChange",
"handleClickOutside",
"getMenuItems"
],
"keys": null,
"path": "src/components/Navigation.tsx",
"selectors": null
},
{
"functions": [
"UserManagement",
"fetchUsers",
"handleAddUser",
"handleEditUser",
"handleDeleteUser",
"prepareEditUser",
"resetForm",
"formatRole"
],
"keys": null,
"path": "src/components/UserManagement.tsx",
"selectors": null
},
{
"functions": [
"StudentPayment",
"fetchData",
"getStatusColor",
"sendWhatsAppReminder"
],
"keys": null,
"path": "src/components/StudentPayment.tsx",
"selectors": null
},
{
"functions": [
"SppPaymentCheck",
"handleSearch"
],
"keys": null,
"path": "src/components/SppPaymentCheck.tsx",
"selectors": null
},
{
"functions": [
"TransactionHistory",
"fetchData"
],
"keys": null,
"path": "src/components/TransactionHistory.tsx",
"selectors": null
},
{
"functions": [
"FinanceCard",
"renderIcon"
],
"keys": null,
"path": "src/components/FinanceCard.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"FinancialSummary"
],
"keys": null,
"path": "src/components/FinancialSummary.tsx",
"selectors": null
},
{
"functions": [
"ExpenseReport",
"fetchExpenseData",
"handleMonthChange",
"handleYearChange",
"handleFilterTypeChange",
"handleDownloadExcel",
"handleDownloadPDF"
],
"keys": null,
"path": "src/components/reports/ExpenseReport.tsx",
"selectors": null
},
{
"functions": [
"SppReport",
"loadSppReport",
"handleDownloadExcel",
"handleDownloadPdf"
],
"keys": null,
"path": "src/components/reports/SppReport.tsx",
"selectors": null
},
{
"functions": [
"IncomeReport",
"fetchIncomeData",
"handleMonthChange",
"handleYearChange",
"handleFilterTypeChange",
"handleDownloadExcel",
"handleDownloadPDF"
],
"keys": null,
"path": "src/components/reports/IncomeReport.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": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"StudentDataTable",
"fetchData",
"handleDelete",
"onSubmit",
"handleImportButtonClick",
"handleFileChange",
"handleImportExcel"
],
"keys": null,
"path": "src/components/master/StudentDataTable.tsx",
"selectors": null
},
{
"functions": [
"ClassDataTable",
"fetchClasses",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/ClassDataTable.tsx",
"selectors": null
},
{
"functions": [
"DepartmentDataTable",
"fetchDepartments",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/DepartmentDataTable.tsx",
"selectors": null
},
{
"functions": [
"SchoolDataForm",
"fetchSchoolData",
"onSubmit"
],
"keys": null,
"path": "src/components/master/SchoolDataForm.tsx",
"selectors": null
},
{
"functions": [
"StudentPaymentForm",
"fetchStudents",
"handleStudentChange",
"onSubmit"
],
"keys": null,
"path": "src/components/student-payment/StudentPaymentForm.tsx",
"selectors": null
},
{
"functions": [
"StudentPaymentHistory",
"fetchData"
],
"keys": null,
"path": "src/components/student-payment/StudentPaymentHistory.tsx",
"selectors": null
},
{
"functions": [
"FinancialHistory",
"fetchData"
],
"keys": null,
"path": "src/components/finance/FinancialHistory.tsx",
"selectors": null
},
{
"functions": [
"ExpenseForm",
"onSubmit"
],
"keys": null,
"path": "src/components/finance/ExpenseForm.tsx",
"selectors": null
},
{
"functions": [
"IncomeForm",
"onSubmit"
],
"keys": null,
"path": "src/components/finance/IncomeForm.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"if"
],
"keys": null,
"path": "src/utils/api.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Reports",
"checkUserRole",
"handleTabChange"
],
"keys": null,
"path": "src/pages/Reports.tsx",
"selectors": null
},
{
"functions": [
"MasterData",
"handleImportButtonClick",
"handleFileChange",
"handleImport"
],
"keys": null,
"path": "src/pages/MasterData.tsx",
"selectors": null
},
{
"functions": [
"Profile",
"handleUsernameChange",
"handlePasswordChange"
],
"keys": null,
"path": "src/pages/Profile.tsx",
"selectors": null
},
{
"functions": [
"Finance",
"checkUserRole"
],
"keys": null,
"path": "src/pages/Finance.tsx",
"selectors": null
},
{
"functions": [
"Login",
"handleStaffLogin",
"handleStudentLogin"
],
"keys": null,
"path": "src/pages/Login.tsx",
"selectors": null
},
{
"functions": [
"StudentPayment",
"checkUserRole"
],
"keys": null,
"path": "src/pages/StudentPayment.tsx",
"selectors": null
},
{
"functions": [
"UserManagementPage"
],
"keys": null,
"path": "src/pages/UserManagementPage.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"AccessDenied"
],
"keys": null,
"path": "src/pages/AccessDenied.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 29 |
[
{
"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 _redirects\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".animate-in\",\n \".text-scroll-container\",\n \"webkit-scrollbar\",\n \".com\",\n \".card-hover\",\n \"components\",\n \"slideInBottom\",\n \"webkit-scrollbar-thumb\",\n \"from\",\n \"to\",\n \"base\",\n \".googleapis\",\n \"fadeIn\",\n \"root\",\n \"hover\",\n \"webkit-scrollbar-track\",\n \".text-scroll\",\n \"body\",\n \".glass-card\",\n \".slide-in-bottom\",\n \"textScroll\",\n \".dark\"\n ]\n },\n {\n \"functions\": [\n \"App\",\n \"toggleMenu\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"checkAuth\",\n \"logout\",\n \"hasPermission\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/contexts/AuthContext.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Dashboard\",\n \"fetchData\",\n \"getRandomTrend\",\n \"renderAdminDashboard\",\n \"renderBendaharaDashboard\",\n \"renderKepalaSekolahDashboard\",\n \"renderSiswaDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialCharts\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinancialCharts.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WhatsAppNotification\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/WhatsAppNotification.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"UserProfile\",\n \"getInitials\",\n \"getRoleDisplayName\"\n ],\n \"keys\": null,\n \"path\": \"src/components/UserProfile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateMedia\",\n \"handleRouteChange\",\n \"handleClickOutside\",\n \"getMenuItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Navigation.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"UserManagement\",\n \"fetchUsers\",\n \"handleAddUser\",\n \"handleEditUser\",\n \"handleDeleteUser\",\n \"prepareEditUser\",\n \"resetForm\",\n \"formatRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/UserManagement.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPayment\",\n \"fetchData\",\n \"getStatusColor\",\n \"sendWhatsAppReminder\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StudentPayment.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SppPaymentCheck\",\n \"handleSearch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/SppPaymentCheck.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TransactionHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/TransactionHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinanceCard\",\n \"renderIcon\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinanceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialSummary\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinancialSummary.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ExpenseReport\",\n \"fetchExpenseData\",\n \"handleMonthChange\",\n \"handleYearChange\",\n \"handleFilterTypeChange\",\n \"handleDownloadExcel\",\n \"handleDownloadPDF\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/ExpenseReport.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SppReport\",\n \"loadSppReport\",\n \"handleDownloadExcel\",\n \"handleDownloadPdf\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/SppReport.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"IncomeReport\",\n \"fetchIncomeData\",\n \"handleMonthChange\",\n \"handleYearChange\",\n \"handleFilterTypeChange\",\n \"handleDownloadExcel\",\n \"handleDownloadPDF\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/IncomeReport.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 \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentDataTable\",\n \"fetchData\",\n \"handleDelete\",\n \"onSubmit\",\n \"handleImportButtonClick\",\n \"handleFileChange\",\n \"handleImportExcel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/StudentDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ClassDataTable\",\n \"fetchClasses\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/ClassDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DepartmentDataTable\",\n \"fetchDepartments\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/DepartmentDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SchoolDataForm\",\n \"fetchSchoolData\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/SchoolDataForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPaymentForm\",\n \"fetchStudents\",\n \"handleStudentChange\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/student-payment/StudentPaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPaymentHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/student-payment/StudentPaymentHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/FinancialHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ExpenseForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/ExpenseForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"IncomeForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/IncomeForm.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/utils/api.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Reports\",\n \"checkUserRole\",\n \"handleTabChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Reports.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MasterData\",\n \"handleImportButtonClick\",\n \"handleFileChange\",\n \"handleImport\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/MasterData.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Profile\",\n \"handleUsernameChange\",\n \"handlePasswordChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Finance\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Finance.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Login\",\n \"handleStaffLogin\",\n \"handleStudentLogin\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Login.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPayment\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/StudentPayment.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"UserManagementPage\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/UserManagementPage.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 \"AccessDenied\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/AccessDenied.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [],\n \"created\": [\n \"public/_redirects\"\n ],\n \"deleted\": []\n}"
}
] |
fajri89/madrasah-money-manager
|
Update _redirects
|
{
"changed": [
"public/_redirects"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".animate-in",
".text-scroll-container",
"webkit-scrollbar",
".com",
".card-hover",
"components",
"slideInBottom",
"webkit-scrollbar-thumb",
"from",
"to",
"base",
".googleapis",
"fadeIn",
"root",
"hover",
"webkit-scrollbar-track",
".text-scroll",
"body",
".glass-card",
".slide-in-bottom",
"textScroll",
".dark"
]
},
{
"functions": [
"App",
"toggleMenu"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"AuthProvider",
"checkAuth",
"logout",
"hasPermission",
"useAuth"
],
"keys": null,
"path": "src/contexts/AuthContext.tsx",
"selectors": null
},
{
"functions": [
"Dashboard",
"fetchData",
"getRandomTrend",
"renderAdminDashboard",
"renderBendaharaDashboard",
"renderKepalaSekolahDashboard",
"renderSiswaDashboard"
],
"keys": null,
"path": "src/components/Dashboard.tsx",
"selectors": null
},
{
"functions": [
"FinancialCharts"
],
"keys": null,
"path": "src/components/FinancialCharts.tsx",
"selectors": null
},
{
"functions": [
"WhatsAppNotification",
"handleSubmit"
],
"keys": null,
"path": "src/components/WhatsAppNotification.tsx",
"selectors": null
},
{
"functions": [
"UserProfile",
"getInitials",
"getRoleDisplayName"
],
"keys": null,
"path": "src/components/UserProfile.tsx",
"selectors": null
},
{
"functions": [
"updateMedia",
"handleRouteChange",
"handleClickOutside",
"getMenuItems"
],
"keys": null,
"path": "src/components/Navigation.tsx",
"selectors": null
},
{
"functions": [
"UserManagement",
"fetchUsers",
"handleAddUser",
"handleEditUser",
"handleDeleteUser",
"prepareEditUser",
"resetForm",
"formatRole"
],
"keys": null,
"path": "src/components/UserManagement.tsx",
"selectors": null
},
{
"functions": [
"StudentPayment",
"fetchData",
"getStatusColor",
"sendWhatsAppReminder"
],
"keys": null,
"path": "src/components/StudentPayment.tsx",
"selectors": null
},
{
"functions": [
"SppPaymentCheck",
"handleSearch"
],
"keys": null,
"path": "src/components/SppPaymentCheck.tsx",
"selectors": null
},
{
"functions": [
"TransactionHistory",
"fetchData"
],
"keys": null,
"path": "src/components/TransactionHistory.tsx",
"selectors": null
},
{
"functions": [
"FinanceCard",
"renderIcon"
],
"keys": null,
"path": "src/components/FinanceCard.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"FinancialSummary"
],
"keys": null,
"path": "src/components/FinancialSummary.tsx",
"selectors": null
},
{
"functions": [
"ExpenseReport",
"fetchExpenseData",
"handleMonthChange",
"handleYearChange",
"handleFilterTypeChange",
"handleDownloadExcel",
"handleDownloadPDF"
],
"keys": null,
"path": "src/components/reports/ExpenseReport.tsx",
"selectors": null
},
{
"functions": [
"SppReport",
"loadSppReport",
"handleDownloadExcel",
"handleDownloadPdf"
],
"keys": null,
"path": "src/components/reports/SppReport.tsx",
"selectors": null
},
{
"functions": [
"IncomeReport",
"fetchIncomeData",
"handleMonthChange",
"handleYearChange",
"handleFilterTypeChange",
"handleDownloadExcel",
"handleDownloadPDF"
],
"keys": null,
"path": "src/components/reports/IncomeReport.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": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"StudentDataTable",
"fetchData",
"handleDelete",
"onSubmit",
"handleImportButtonClick",
"handleFileChange",
"handleImportExcel"
],
"keys": null,
"path": "src/components/master/StudentDataTable.tsx",
"selectors": null
},
{
"functions": [
"ClassDataTable",
"fetchClasses",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/ClassDataTable.tsx",
"selectors": null
},
{
"functions": [
"DepartmentDataTable",
"fetchDepartments",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/DepartmentDataTable.tsx",
"selectors": null
},
{
"functions": [
"SchoolDataForm",
"fetchSchoolData",
"onSubmit"
],
"keys": null,
"path": "src/components/master/SchoolDataForm.tsx",
"selectors": null
},
{
"functions": [
"StudentPaymentForm",
"fetchStudents",
"handleStudentChange",
"onSubmit"
],
"keys": null,
"path": "src/components/student-payment/StudentPaymentForm.tsx",
"selectors": null
},
{
"functions": [
"StudentPaymentHistory",
"fetchData"
],
"keys": null,
"path": "src/components/student-payment/StudentPaymentHistory.tsx",
"selectors": null
},
{
"functions": [
"FinancialHistory",
"fetchData"
],
"keys": null,
"path": "src/components/finance/FinancialHistory.tsx",
"selectors": null
},
{
"functions": [
"ExpenseForm",
"onSubmit"
],
"keys": null,
"path": "src/components/finance/ExpenseForm.tsx",
"selectors": null
},
{
"functions": [
"IncomeForm",
"onSubmit"
],
"keys": null,
"path": "src/components/finance/IncomeForm.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"if"
],
"keys": null,
"path": "src/utils/api.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Reports",
"checkUserRole",
"handleTabChange"
],
"keys": null,
"path": "src/pages/Reports.tsx",
"selectors": null
},
{
"functions": [
"MasterData",
"handleImportButtonClick",
"handleFileChange",
"handleImport"
],
"keys": null,
"path": "src/pages/MasterData.tsx",
"selectors": null
},
{
"functions": [
"Profile",
"handleUsernameChange",
"handlePasswordChange"
],
"keys": null,
"path": "src/pages/Profile.tsx",
"selectors": null
},
{
"functions": [
"Finance",
"checkUserRole"
],
"keys": null,
"path": "src/pages/Finance.tsx",
"selectors": null
},
{
"functions": [
"Login",
"handleStaffLogin",
"handleStudentLogin"
],
"keys": null,
"path": "src/pages/Login.tsx",
"selectors": null
},
{
"functions": [
"StudentPayment",
"checkUserRole"
],
"keys": null,
"path": "src/pages/StudentPayment.tsx",
"selectors": null
},
{
"functions": [
"UserManagementPage"
],
"keys": null,
"path": "src/pages/UserManagementPage.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"AccessDenied"
],
"keys": null,
"path": "src/pages/AccessDenied.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 30 |
[
{
"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 _redirects\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".animate-in\",\n \".text-scroll-container\",\n \"webkit-scrollbar\",\n \".com\",\n \".card-hover\",\n \"components\",\n \"slideInBottom\",\n \"webkit-scrollbar-thumb\",\n \"from\",\n \"to\",\n \"base\",\n \".googleapis\",\n \"fadeIn\",\n \"root\",\n \"hover\",\n \"webkit-scrollbar-track\",\n \".text-scroll\",\n \"body\",\n \".glass-card\",\n \".slide-in-bottom\",\n \"textScroll\",\n \".dark\"\n ]\n },\n {\n \"functions\": [\n \"App\",\n \"toggleMenu\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"checkAuth\",\n \"logout\",\n \"hasPermission\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/contexts/AuthContext.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Dashboard\",\n \"fetchData\",\n \"getRandomTrend\",\n \"renderAdminDashboard\",\n \"renderBendaharaDashboard\",\n \"renderKepalaSekolahDashboard\",\n \"renderSiswaDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialCharts\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinancialCharts.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WhatsAppNotification\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/WhatsAppNotification.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"UserProfile\",\n \"getInitials\",\n \"getRoleDisplayName\"\n ],\n \"keys\": null,\n \"path\": \"src/components/UserProfile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateMedia\",\n \"handleRouteChange\",\n \"handleClickOutside\",\n \"getMenuItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Navigation.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"UserManagement\",\n \"fetchUsers\",\n \"handleAddUser\",\n \"handleEditUser\",\n \"handleDeleteUser\",\n \"prepareEditUser\",\n \"resetForm\",\n \"formatRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/UserManagement.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPayment\",\n \"fetchData\",\n \"getStatusColor\",\n \"sendWhatsAppReminder\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StudentPayment.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SppPaymentCheck\",\n \"handleSearch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/SppPaymentCheck.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TransactionHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/TransactionHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinanceCard\",\n \"renderIcon\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinanceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialSummary\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinancialSummary.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ExpenseReport\",\n \"fetchExpenseData\",\n \"handleMonthChange\",\n \"handleYearChange\",\n \"handleFilterTypeChange\",\n \"handleDownloadExcel\",\n \"handleDownloadPDF\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/ExpenseReport.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SppReport\",\n \"loadSppReport\",\n \"handleDownloadExcel\",\n \"handleDownloadPdf\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/SppReport.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"IncomeReport\",\n \"fetchIncomeData\",\n \"handleMonthChange\",\n \"handleYearChange\",\n \"handleFilterTypeChange\",\n \"handleDownloadExcel\",\n \"handleDownloadPDF\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/IncomeReport.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 \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentDataTable\",\n \"fetchData\",\n \"handleDelete\",\n \"onSubmit\",\n \"handleImportButtonClick\",\n \"handleFileChange\",\n \"handleImportExcel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/StudentDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ClassDataTable\",\n \"fetchClasses\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/ClassDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DepartmentDataTable\",\n \"fetchDepartments\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/DepartmentDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SchoolDataForm\",\n \"fetchSchoolData\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/SchoolDataForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPaymentForm\",\n \"fetchStudents\",\n \"handleStudentChange\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/student-payment/StudentPaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPaymentHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/student-payment/StudentPaymentHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/FinancialHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ExpenseForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/ExpenseForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"IncomeForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/IncomeForm.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/utils/api.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Reports\",\n \"checkUserRole\",\n \"handleTabChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Reports.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MasterData\",\n \"handleImportButtonClick\",\n \"handleFileChange\",\n \"handleImport\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/MasterData.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Profile\",\n \"handleUsernameChange\",\n \"handlePasswordChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Finance\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Finance.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Login\",\n \"handleStaffLogin\",\n \"handleStudentLogin\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Login.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPayment\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/StudentPayment.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"UserManagementPage\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/UserManagementPage.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 \"AccessDenied\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/AccessDenied.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"public/_redirects\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
fajri89/madrasah-money-manager
|
Fix: Display transaction and SPP history
Fixes the display of transaction and SPP payment history, and adds a feature to display SPP payment history per month.
|
{
"changed": [
"src/components/finance/FinancialHistory.tsx",
"src/components/student-payment/StudentPaymentHistory.tsx"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".animate-in",
".text-scroll-container",
"webkit-scrollbar",
".com",
".card-hover",
"components",
"slideInBottom",
"webkit-scrollbar-thumb",
"from",
"to",
"base",
".googleapis",
"fadeIn",
"root",
"hover",
"webkit-scrollbar-track",
".text-scroll",
"body",
".glass-card",
".slide-in-bottom",
"textScroll",
".dark"
]
},
{
"functions": [
"App",
"toggleMenu"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"AuthProvider",
"checkAuth",
"logout",
"hasPermission",
"useAuth"
],
"keys": null,
"path": "src/contexts/AuthContext.tsx",
"selectors": null
},
{
"functions": [
"Dashboard",
"fetchData",
"getRandomTrend",
"renderAdminDashboard",
"renderBendaharaDashboard",
"renderKepalaSekolahDashboard",
"renderSiswaDashboard"
],
"keys": null,
"path": "src/components/Dashboard.tsx",
"selectors": null
},
{
"functions": [
"FinancialCharts"
],
"keys": null,
"path": "src/components/FinancialCharts.tsx",
"selectors": null
},
{
"functions": [
"WhatsAppNotification",
"handleSubmit"
],
"keys": null,
"path": "src/components/WhatsAppNotification.tsx",
"selectors": null
},
{
"functions": [
"UserProfile",
"getInitials",
"getRoleDisplayName"
],
"keys": null,
"path": "src/components/UserProfile.tsx",
"selectors": null
},
{
"functions": [
"updateMedia",
"handleRouteChange",
"handleClickOutside",
"getMenuItems"
],
"keys": null,
"path": "src/components/Navigation.tsx",
"selectors": null
},
{
"functions": [
"UserManagement",
"fetchUsers",
"handleAddUser",
"handleEditUser",
"handleDeleteUser",
"prepareEditUser",
"resetForm",
"formatRole"
],
"keys": null,
"path": "src/components/UserManagement.tsx",
"selectors": null
},
{
"functions": [
"StudentPayment",
"fetchData",
"getStatusColor",
"sendWhatsAppReminder"
],
"keys": null,
"path": "src/components/StudentPayment.tsx",
"selectors": null
},
{
"functions": [
"SppPaymentCheck",
"handleSearch"
],
"keys": null,
"path": "src/components/SppPaymentCheck.tsx",
"selectors": null
},
{
"functions": [
"TransactionHistory",
"fetchData"
],
"keys": null,
"path": "src/components/TransactionHistory.tsx",
"selectors": null
},
{
"functions": [
"FinanceCard",
"renderIcon"
],
"keys": null,
"path": "src/components/FinanceCard.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"FinancialSummary"
],
"keys": null,
"path": "src/components/FinancialSummary.tsx",
"selectors": null
},
{
"functions": [
"ExpenseReport",
"fetchExpenseData",
"handleMonthChange",
"handleYearChange",
"handleFilterTypeChange",
"handleDownloadExcel",
"handleDownloadPDF"
],
"keys": null,
"path": "src/components/reports/ExpenseReport.tsx",
"selectors": null
},
{
"functions": [
"SppReport",
"loadSppReport",
"handleDownloadExcel",
"handleDownloadPdf"
],
"keys": null,
"path": "src/components/reports/SppReport.tsx",
"selectors": null
},
{
"functions": [
"IncomeReport",
"fetchIncomeData",
"handleMonthChange",
"handleYearChange",
"handleFilterTypeChange",
"handleDownloadExcel",
"handleDownloadPDF"
],
"keys": null,
"path": "src/components/reports/IncomeReport.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": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"StudentDataTable",
"fetchData",
"handleDelete",
"onSubmit",
"handleImportButtonClick",
"handleFileChange",
"handleImportExcel"
],
"keys": null,
"path": "src/components/master/StudentDataTable.tsx",
"selectors": null
},
{
"functions": [
"ClassDataTable",
"fetchClasses",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/ClassDataTable.tsx",
"selectors": null
},
{
"functions": [
"DepartmentDataTable",
"fetchDepartments",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/DepartmentDataTable.tsx",
"selectors": null
},
{
"functions": [
"SchoolDataForm",
"fetchSchoolData",
"onSubmit"
],
"keys": null,
"path": "src/components/master/SchoolDataForm.tsx",
"selectors": null
},
{
"functions": [
"StudentPaymentForm",
"fetchStudents",
"handleStudentChange",
"onSubmit"
],
"keys": null,
"path": "src/components/student-payment/StudentPaymentForm.tsx",
"selectors": null
},
{
"functions": [
"StudentPaymentHistory",
"fetchData"
],
"keys": null,
"path": "src/components/student-payment/StudentPaymentHistory.tsx",
"selectors": null
},
{
"functions": [
"FinancialHistory",
"fetchData"
],
"keys": null,
"path": "src/components/finance/FinancialHistory.tsx",
"selectors": null
},
{
"functions": [
"ExpenseForm",
"onSubmit"
],
"keys": null,
"path": "src/components/finance/ExpenseForm.tsx",
"selectors": null
},
{
"functions": [
"IncomeForm",
"onSubmit"
],
"keys": null,
"path": "src/components/finance/IncomeForm.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"if"
],
"keys": null,
"path": "src/utils/api.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Reports",
"checkUserRole",
"handleTabChange"
],
"keys": null,
"path": "src/pages/Reports.tsx",
"selectors": null
},
{
"functions": [
"MasterData",
"handleImportButtonClick",
"handleFileChange",
"handleImport"
],
"keys": null,
"path": "src/pages/MasterData.tsx",
"selectors": null
},
{
"functions": [
"Profile",
"handleUsernameChange",
"handlePasswordChange"
],
"keys": null,
"path": "src/pages/Profile.tsx",
"selectors": null
},
{
"functions": [
"Finance",
"checkUserRole"
],
"keys": null,
"path": "src/pages/Finance.tsx",
"selectors": null
},
{
"functions": [
"Login",
"handleStaffLogin",
"handleStudentLogin"
],
"keys": null,
"path": "src/pages/Login.tsx",
"selectors": null
},
{
"functions": [
"StudentPayment",
"checkUserRole"
],
"keys": null,
"path": "src/pages/StudentPayment.tsx",
"selectors": null
},
{
"functions": [
"UserManagementPage"
],
"keys": null,
"path": "src/pages/UserManagementPage.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"AccessDenied"
],
"keys": null,
"path": "src/pages/AccessDenied.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 31 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nFix: Display transaction and SPP history\n\nFixes the display of transaction and SPP payment history, and adds a feature to display SPP payment history per month.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".animate-in\",\n \".text-scroll-container\",\n \"webkit-scrollbar\",\n \".com\",\n \".card-hover\",\n \"components\",\n \"slideInBottom\",\n \"webkit-scrollbar-thumb\",\n \"from\",\n \"to\",\n \"base\",\n \".googleapis\",\n \"fadeIn\",\n \"root\",\n \"hover\",\n \"webkit-scrollbar-track\",\n \".text-scroll\",\n \"body\",\n \".glass-card\",\n \".slide-in-bottom\",\n \"textScroll\",\n \".dark\"\n ]\n },\n {\n \"functions\": [\n \"App\",\n \"toggleMenu\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"checkAuth\",\n \"logout\",\n \"hasPermission\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/contexts/AuthContext.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Dashboard\",\n \"fetchData\",\n \"getRandomTrend\",\n \"renderAdminDashboard\",\n \"renderBendaharaDashboard\",\n \"renderKepalaSekolahDashboard\",\n \"renderSiswaDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialCharts\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinancialCharts.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WhatsAppNotification\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/WhatsAppNotification.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"UserProfile\",\n \"getInitials\",\n \"getRoleDisplayName\"\n ],\n \"keys\": null,\n \"path\": \"src/components/UserProfile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateMedia\",\n \"handleRouteChange\",\n \"handleClickOutside\",\n \"getMenuItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Navigation.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"UserManagement\",\n \"fetchUsers\",\n \"handleAddUser\",\n \"handleEditUser\",\n \"handleDeleteUser\",\n \"prepareEditUser\",\n \"resetForm\",\n \"formatRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/UserManagement.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPayment\",\n \"fetchData\",\n \"getStatusColor\",\n \"sendWhatsAppReminder\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StudentPayment.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SppPaymentCheck\",\n \"handleSearch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/SppPaymentCheck.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TransactionHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/TransactionHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinanceCard\",\n \"renderIcon\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinanceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialSummary\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinancialSummary.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ExpenseReport\",\n \"fetchExpenseData\",\n \"handleMonthChange\",\n \"handleYearChange\",\n \"handleFilterTypeChange\",\n \"handleDownloadExcel\",\n \"handleDownloadPDF\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/ExpenseReport.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SppReport\",\n \"loadSppReport\",\n \"handleDownloadExcel\",\n \"handleDownloadPdf\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/SppReport.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"IncomeReport\",\n \"fetchIncomeData\",\n \"handleMonthChange\",\n \"handleYearChange\",\n \"handleFilterTypeChange\",\n \"handleDownloadExcel\",\n \"handleDownloadPDF\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/IncomeReport.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 \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentDataTable\",\n \"fetchData\",\n \"handleDelete\",\n \"onSubmit\",\n \"handleImportButtonClick\",\n \"handleFileChange\",\n \"handleImportExcel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/StudentDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ClassDataTable\",\n \"fetchClasses\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/ClassDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DepartmentDataTable\",\n \"fetchDepartments\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/DepartmentDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SchoolDataForm\",\n \"fetchSchoolData\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/SchoolDataForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPaymentForm\",\n \"fetchStudents\",\n \"handleStudentChange\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/student-payment/StudentPaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPaymentHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/student-payment/StudentPaymentHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/FinancialHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ExpenseForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/ExpenseForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"IncomeForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/IncomeForm.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/utils/api.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Reports\",\n \"checkUserRole\",\n \"handleTabChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Reports.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MasterData\",\n \"handleImportButtonClick\",\n \"handleFileChange\",\n \"handleImport\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/MasterData.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Profile\",\n \"handleUsernameChange\",\n \"handlePasswordChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Finance\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Finance.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Login\",\n \"handleStaffLogin\",\n \"handleStudentLogin\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Login.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPayment\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/StudentPayment.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"UserManagementPage\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/UserManagementPage.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 \"AccessDenied\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/AccessDenied.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/components/finance/FinancialHistory.tsx\",\n \"src/components/student-payment/StudentPaymentHistory.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
fajri89/madrasah-money-manager
|
Refactor: Implement WhatsApp notifications and year range updates
- Implemented WhatsApp notifications for SPP payments, income, and expenses.
- Added monthly reports to the headmaster via WhatsApp.
- Updated year range to 2025-2030 in relevant menus.
- Ensured data persistence in Supabase.
|
{
"changed": [
"src/components/reports/SppReport.tsx",
"src/components/student-payment/StudentPaymentForm.tsx",
"src/components/student-payment/StudentPaymentHistory.tsx",
"src/utils/api.ts",
"src/utils/whatsAppIntegration.ts"
],
"created": [
"src/components/AdminSettings.tsx"
],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".animate-in",
".text-scroll-container",
"webkit-scrollbar",
".com",
".card-hover",
"components",
"slideInBottom",
"webkit-scrollbar-thumb",
"from",
"to",
"base",
".googleapis",
"fadeIn",
"root",
"hover",
"webkit-scrollbar-track",
".text-scroll",
"body",
".glass-card",
".slide-in-bottom",
"textScroll",
".dark"
]
},
{
"functions": [
"App",
"toggleMenu"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"AuthProvider",
"checkAuth",
"logout",
"hasPermission",
"useAuth"
],
"keys": null,
"path": "src/contexts/AuthContext.tsx",
"selectors": null
},
{
"functions": [
"Dashboard",
"fetchData",
"getRandomTrend",
"renderAdminDashboard",
"renderBendaharaDashboard",
"renderKepalaSekolahDashboard",
"renderSiswaDashboard"
],
"keys": null,
"path": "src/components/Dashboard.tsx",
"selectors": null
},
{
"functions": [
"FinancialCharts"
],
"keys": null,
"path": "src/components/FinancialCharts.tsx",
"selectors": null
},
{
"functions": [
"WhatsAppNotification",
"handleSubmit"
],
"keys": null,
"path": "src/components/WhatsAppNotification.tsx",
"selectors": null
},
{
"functions": [
"UserProfile",
"getInitials",
"getRoleDisplayName"
],
"keys": null,
"path": "src/components/UserProfile.tsx",
"selectors": null
},
{
"functions": [
"updateMedia",
"handleRouteChange",
"handleClickOutside",
"getMenuItems"
],
"keys": null,
"path": "src/components/Navigation.tsx",
"selectors": null
},
{
"functions": [
"UserManagement",
"fetchUsers",
"handleAddUser",
"handleEditUser",
"handleDeleteUser",
"prepareEditUser",
"resetForm",
"formatRole"
],
"keys": null,
"path": "src/components/UserManagement.tsx",
"selectors": null
},
{
"functions": [
"StudentPayment",
"fetchData",
"getStatusColor",
"sendWhatsAppReminder"
],
"keys": null,
"path": "src/components/StudentPayment.tsx",
"selectors": null
},
{
"functions": [
"SppPaymentCheck",
"handleSearch"
],
"keys": null,
"path": "src/components/SppPaymentCheck.tsx",
"selectors": null
},
{
"functions": [
"TransactionHistory",
"fetchData"
],
"keys": null,
"path": "src/components/TransactionHistory.tsx",
"selectors": null
},
{
"functions": [
"FinanceCard",
"renderIcon"
],
"keys": null,
"path": "src/components/FinanceCard.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"FinancialSummary"
],
"keys": null,
"path": "src/components/FinancialSummary.tsx",
"selectors": null
},
{
"functions": [
"ExpenseReport",
"fetchExpenseData",
"handleMonthChange",
"handleYearChange",
"handleFilterTypeChange",
"handleDownloadExcel",
"handleDownloadPDF"
],
"keys": null,
"path": "src/components/reports/ExpenseReport.tsx",
"selectors": null
},
{
"functions": [
"SppReport",
"loadSppReport",
"handleDownloadExcel",
"handleDownloadPdf"
],
"keys": null,
"path": "src/components/reports/SppReport.tsx",
"selectors": null
},
{
"functions": [
"IncomeReport",
"fetchIncomeData",
"handleMonthChange",
"handleYearChange",
"handleFilterTypeChange",
"handleDownloadExcel",
"handleDownloadPDF"
],
"keys": null,
"path": "src/components/reports/IncomeReport.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": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"StudentDataTable",
"fetchData",
"handleDelete",
"onSubmit",
"handleImportButtonClick",
"handleFileChange",
"handleImportExcel"
],
"keys": null,
"path": "src/components/master/StudentDataTable.tsx",
"selectors": null
},
{
"functions": [
"ClassDataTable",
"fetchClasses",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/ClassDataTable.tsx",
"selectors": null
},
{
"functions": [
"DepartmentDataTable",
"fetchDepartments",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/DepartmentDataTable.tsx",
"selectors": null
},
{
"functions": [
"SchoolDataForm",
"fetchSchoolData",
"onSubmit"
],
"keys": null,
"path": "src/components/master/SchoolDataForm.tsx",
"selectors": null
},
{
"functions": [
"StudentPaymentForm",
"fetchStudents",
"handleStudentChange",
"onSubmit"
],
"keys": null,
"path": "src/components/student-payment/StudentPaymentForm.tsx",
"selectors": null
},
{
"functions": [
"StudentPaymentHistory",
"fetchData"
],
"keys": null,
"path": "src/components/student-payment/StudentPaymentHistory.tsx",
"selectors": null
},
{
"functions": [
"FinancialHistory",
"fetchData"
],
"keys": null,
"path": "src/components/finance/FinancialHistory.tsx",
"selectors": null
},
{
"functions": [
"ExpenseForm",
"onSubmit"
],
"keys": null,
"path": "src/components/finance/ExpenseForm.tsx",
"selectors": null
},
{
"functions": [
"IncomeForm",
"onSubmit"
],
"keys": null,
"path": "src/components/finance/IncomeForm.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"if"
],
"keys": null,
"path": "src/utils/api.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Reports",
"checkUserRole",
"handleTabChange"
],
"keys": null,
"path": "src/pages/Reports.tsx",
"selectors": null
},
{
"functions": [
"MasterData",
"handleImportButtonClick",
"handleFileChange",
"handleImport"
],
"keys": null,
"path": "src/pages/MasterData.tsx",
"selectors": null
},
{
"functions": [
"Profile",
"handleUsernameChange",
"handlePasswordChange"
],
"keys": null,
"path": "src/pages/Profile.tsx",
"selectors": null
},
{
"functions": [
"Finance",
"checkUserRole"
],
"keys": null,
"path": "src/pages/Finance.tsx",
"selectors": null
},
{
"functions": [
"Login",
"handleStaffLogin",
"handleStudentLogin"
],
"keys": null,
"path": "src/pages/Login.tsx",
"selectors": null
},
{
"functions": [
"StudentPayment",
"checkUserRole"
],
"keys": null,
"path": "src/pages/StudentPayment.tsx",
"selectors": null
},
{
"functions": [
"UserManagementPage"
],
"keys": null,
"path": "src/pages/UserManagementPage.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"AccessDenied"
],
"keys": null,
"path": "src/pages/AccessDenied.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 32 |
[
{
"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: Implement WhatsApp notifications and year range updates\n\n- Implemented WhatsApp notifications for SPP payments, income, and expenses.\n- Added monthly reports to the headmaster via WhatsApp.\n- Updated year range to 2025-2030 in relevant menus.\n- Ensured data persistence in 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 \"$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 \".animate-in\",\n \".text-scroll-container\",\n \"webkit-scrollbar\",\n \".com\",\n \".card-hover\",\n \"components\",\n \"slideInBottom\",\n \"webkit-scrollbar-thumb\",\n \"from\",\n \"to\",\n \"base\",\n \".googleapis\",\n \"fadeIn\",\n \"root\",\n \"hover\",\n \"webkit-scrollbar-track\",\n \".text-scroll\",\n \"body\",\n \".glass-card\",\n \".slide-in-bottom\",\n \"textScroll\",\n \".dark\"\n ]\n },\n {\n \"functions\": [\n \"App\",\n \"toggleMenu\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"checkAuth\",\n \"logout\",\n \"hasPermission\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/contexts/AuthContext.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Dashboard\",\n \"fetchData\",\n \"getRandomTrend\",\n \"renderAdminDashboard\",\n \"renderBendaharaDashboard\",\n \"renderKepalaSekolahDashboard\",\n \"renderSiswaDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialCharts\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinancialCharts.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WhatsAppNotification\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/WhatsAppNotification.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"UserProfile\",\n \"getInitials\",\n \"getRoleDisplayName\"\n ],\n \"keys\": null,\n \"path\": \"src/components/UserProfile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateMedia\",\n \"handleRouteChange\",\n \"handleClickOutside\",\n \"getMenuItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Navigation.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"UserManagement\",\n \"fetchUsers\",\n \"handleAddUser\",\n \"handleEditUser\",\n \"handleDeleteUser\",\n \"prepareEditUser\",\n \"resetForm\",\n \"formatRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/UserManagement.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPayment\",\n \"fetchData\",\n \"getStatusColor\",\n \"sendWhatsAppReminder\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StudentPayment.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SppPaymentCheck\",\n \"handleSearch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/SppPaymentCheck.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TransactionHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/TransactionHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinanceCard\",\n \"renderIcon\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinanceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialSummary\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinancialSummary.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ExpenseReport\",\n \"fetchExpenseData\",\n \"handleMonthChange\",\n \"handleYearChange\",\n \"handleFilterTypeChange\",\n \"handleDownloadExcel\",\n \"handleDownloadPDF\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/ExpenseReport.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SppReport\",\n \"loadSppReport\",\n \"handleDownloadExcel\",\n \"handleDownloadPdf\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/SppReport.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"IncomeReport\",\n \"fetchIncomeData\",\n \"handleMonthChange\",\n \"handleYearChange\",\n \"handleFilterTypeChange\",\n \"handleDownloadExcel\",\n \"handleDownloadPDF\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/IncomeReport.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 \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentDataTable\",\n \"fetchData\",\n \"handleDelete\",\n \"onSubmit\",\n \"handleImportButtonClick\",\n \"handleFileChange\",\n \"handleImportExcel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/StudentDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ClassDataTable\",\n \"fetchClasses\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/ClassDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DepartmentDataTable\",\n \"fetchDepartments\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/DepartmentDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SchoolDataForm\",\n \"fetchSchoolData\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/SchoolDataForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPaymentForm\",\n \"fetchStudents\",\n \"handleStudentChange\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/student-payment/StudentPaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPaymentHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/student-payment/StudentPaymentHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/FinancialHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ExpenseForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/ExpenseForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"IncomeForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/IncomeForm.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/utils/api.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Reports\",\n \"checkUserRole\",\n \"handleTabChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Reports.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MasterData\",\n \"handleImportButtonClick\",\n \"handleFileChange\",\n \"handleImport\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/MasterData.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Profile\",\n \"handleUsernameChange\",\n \"handlePasswordChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Finance\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Finance.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Login\",\n \"handleStaffLogin\",\n \"handleStudentLogin\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Login.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPayment\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/StudentPayment.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"UserManagementPage\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/UserManagementPage.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 \"AccessDenied\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/AccessDenied.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/components/reports/SppReport.tsx\",\n \"src/components/student-payment/StudentPaymentForm.tsx\",\n \"src/components/student-payment/StudentPaymentHistory.tsx\",\n \"src/utils/api.ts\",\n \"src/utils/whatsAppIntegration.ts\"\n ],\n \"created\": [\n \"src/components/AdminSettings.tsx\"\n ],\n \"deleted\": []\n}"
}
] |
fajri89/madrasah-money-manager
|
Fix: Wrap App with AuthProvider
The error "useAuth must be used within an AuthProvider" indicates that the `useAuth` hook is being called outside of the `AuthProvider`. This commit wraps the entire application within the `AuthProvider` in `App.tsx` to resolve the error.
|
{
"changed": [
"src/components/Header.tsx",
"src/components/ProtectedRoute.tsx",
"src/components/UserProfile.tsx"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".animate-in",
".text-scroll-container",
"webkit-scrollbar",
".com",
".card-hover",
"components",
"slideInBottom",
"webkit-scrollbar-thumb",
"from",
"to",
"base",
".googleapis",
"fadeIn",
"root",
"hover",
"webkit-scrollbar-track",
".text-scroll",
"body",
".glass-card",
".slide-in-bottom",
"textScroll",
".dark"
]
},
{
"functions": [
"App",
"toggleMenu"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"AuthProvider",
"checkAuth",
"logout",
"hasPermission",
"useAuth"
],
"keys": null,
"path": "src/contexts/AuthContext.tsx",
"selectors": null
},
{
"functions": [
"Dashboard",
"fetchData",
"getRandomTrend",
"renderAdminDashboard",
"renderBendaharaDashboard",
"renderKepalaSekolahDashboard",
"renderSiswaDashboard"
],
"keys": null,
"path": "src/components/Dashboard.tsx",
"selectors": null
},
{
"functions": [
"FinancialCharts"
],
"keys": null,
"path": "src/components/FinancialCharts.tsx",
"selectors": null
},
{
"functions": [
"WhatsAppNotification",
"handleSubmit"
],
"keys": null,
"path": "src/components/WhatsAppNotification.tsx",
"selectors": null
},
{
"functions": [
"AdminSettings",
"handleSave"
],
"keys": null,
"path": "src/components/AdminSettings.tsx",
"selectors": null
},
{
"functions": [
"UserProfile",
"getInitials",
"getRoleDisplayName"
],
"keys": null,
"path": "src/components/UserProfile.tsx",
"selectors": null
},
{
"functions": [
"updateMedia",
"handleRouteChange",
"handleClickOutside",
"getMenuItems"
],
"keys": null,
"path": "src/components/Navigation.tsx",
"selectors": null
},
{
"functions": [
"UserManagement",
"fetchUsers",
"handleAddUser",
"handleEditUser",
"handleDeleteUser",
"prepareEditUser",
"resetForm",
"formatRole"
],
"keys": null,
"path": "src/components/UserManagement.tsx",
"selectors": null
},
{
"functions": [
"StudentPayment",
"fetchData",
"getStatusColor",
"sendWhatsAppReminder"
],
"keys": null,
"path": "src/components/StudentPayment.tsx",
"selectors": null
},
{
"functions": [
"SppPaymentCheck",
"handleSearch"
],
"keys": null,
"path": "src/components/SppPaymentCheck.tsx",
"selectors": null
},
{
"functions": [
"TransactionHistory",
"fetchData"
],
"keys": null,
"path": "src/components/TransactionHistory.tsx",
"selectors": null
},
{
"functions": [
"FinanceCard",
"renderIcon"
],
"keys": null,
"path": "src/components/FinanceCard.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"FinancialSummary"
],
"keys": null,
"path": "src/components/FinancialSummary.tsx",
"selectors": null
},
{
"functions": [
"ExpenseReport",
"fetchExpenseData",
"handleMonthChange",
"handleYearChange",
"handleFilterTypeChange",
"handleDownloadExcel",
"handleDownloadPDF"
],
"keys": null,
"path": "src/components/reports/ExpenseReport.tsx",
"selectors": null
},
{
"functions": [
"SppReport",
"loadSppReport",
"handleDownloadExcel",
"handleDownloadPdf"
],
"keys": null,
"path": "src/components/reports/SppReport.tsx",
"selectors": null
},
{
"functions": [
"IncomeReport",
"fetchIncomeData",
"handleMonthChange",
"handleYearChange",
"handleFilterTypeChange",
"handleDownloadExcel",
"handleDownloadPDF"
],
"keys": null,
"path": "src/components/reports/IncomeReport.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": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"StudentDataTable",
"fetchData",
"handleDelete",
"onSubmit",
"handleImportButtonClick",
"handleFileChange",
"handleImportExcel"
],
"keys": null,
"path": "src/components/master/StudentDataTable.tsx",
"selectors": null
},
{
"functions": [
"ClassDataTable",
"fetchClasses",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/ClassDataTable.tsx",
"selectors": null
},
{
"functions": [
"DepartmentDataTable",
"fetchDepartments",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/DepartmentDataTable.tsx",
"selectors": null
},
{
"functions": [
"SchoolDataForm",
"fetchSchoolData",
"onSubmit"
],
"keys": null,
"path": "src/components/master/SchoolDataForm.tsx",
"selectors": null
},
{
"functions": [
"StudentPaymentForm",
"fetchStudents",
"handleStudentChange",
"onSubmit"
],
"keys": null,
"path": "src/components/student-payment/StudentPaymentForm.tsx",
"selectors": null
},
{
"functions": [
"StudentPaymentHistory",
"fetchData",
"updateMonthlyTotal",
"getStudentById",
"handleMonthChange",
"handleYearChange"
],
"keys": null,
"path": "src/components/student-payment/StudentPaymentHistory.tsx",
"selectors": null
},
{
"functions": [
"FinancialHistory",
"fetchData"
],
"keys": null,
"path": "src/components/finance/FinancialHistory.tsx",
"selectors": null
},
{
"functions": [
"ExpenseForm",
"onSubmit"
],
"keys": null,
"path": "src/components/finance/ExpenseForm.tsx",
"selectors": null
},
{
"functions": [
"IncomeForm",
"onSubmit"
],
"keys": null,
"path": "src/components/finance/IncomeForm.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"if"
],
"keys": null,
"path": "src/utils/api.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Reports",
"checkUserRole",
"handleTabChange"
],
"keys": null,
"path": "src/pages/Reports.tsx",
"selectors": null
},
{
"functions": [
"MasterData",
"handleImportButtonClick",
"handleFileChange",
"handleImport"
],
"keys": null,
"path": "src/pages/MasterData.tsx",
"selectors": null
},
{
"functions": [
"Profile",
"handleUsernameChange",
"handlePasswordChange"
],
"keys": null,
"path": "src/pages/Profile.tsx",
"selectors": null
},
{
"functions": [
"Finance",
"checkUserRole"
],
"keys": null,
"path": "src/pages/Finance.tsx",
"selectors": null
},
{
"functions": [
"Login",
"handleStaffLogin",
"handleStudentLogin"
],
"keys": null,
"path": "src/pages/Login.tsx",
"selectors": null
},
{
"functions": [
"StudentPayment",
"checkUserRole"
],
"keys": null,
"path": "src/pages/StudentPayment.tsx",
"selectors": null
},
{
"functions": [
"UserManagementPage"
],
"keys": null,
"path": "src/pages/UserManagementPage.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"AccessDenied"
],
"keys": null,
"path": "src/pages/AccessDenied.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 33 |
[
{
"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: Wrap App with AuthProvider\n\nThe error \"useAuth must be used within an AuthProvider\" indicates that the `useAuth` hook is being called outside of the `AuthProvider`. This commit wraps the entire application within the `AuthProvider` in `App.tsx` to resolve the error.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".animate-in\",\n \".text-scroll-container\",\n \"webkit-scrollbar\",\n \".com\",\n \".card-hover\",\n \"components\",\n \"slideInBottom\",\n \"webkit-scrollbar-thumb\",\n \"from\",\n \"to\",\n \"base\",\n \".googleapis\",\n \"fadeIn\",\n \"root\",\n \"hover\",\n \"webkit-scrollbar-track\",\n \".text-scroll\",\n \"body\",\n \".glass-card\",\n \".slide-in-bottom\",\n \"textScroll\",\n \".dark\"\n ]\n },\n {\n \"functions\": [\n \"App\",\n \"toggleMenu\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"checkAuth\",\n \"logout\",\n \"hasPermission\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/contexts/AuthContext.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Dashboard\",\n \"fetchData\",\n \"getRandomTrend\",\n \"renderAdminDashboard\",\n \"renderBendaharaDashboard\",\n \"renderKepalaSekolahDashboard\",\n \"renderSiswaDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialCharts\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinancialCharts.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WhatsAppNotification\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/WhatsAppNotification.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminSettings\",\n \"handleSave\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AdminSettings.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"UserProfile\",\n \"getInitials\",\n \"getRoleDisplayName\"\n ],\n \"keys\": null,\n \"path\": \"src/components/UserProfile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateMedia\",\n \"handleRouteChange\",\n \"handleClickOutside\",\n \"getMenuItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Navigation.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"UserManagement\",\n \"fetchUsers\",\n \"handleAddUser\",\n \"handleEditUser\",\n \"handleDeleteUser\",\n \"prepareEditUser\",\n \"resetForm\",\n \"formatRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/UserManagement.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPayment\",\n \"fetchData\",\n \"getStatusColor\",\n \"sendWhatsAppReminder\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StudentPayment.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SppPaymentCheck\",\n \"handleSearch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/SppPaymentCheck.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TransactionHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/TransactionHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinanceCard\",\n \"renderIcon\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinanceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialSummary\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinancialSummary.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ExpenseReport\",\n \"fetchExpenseData\",\n \"handleMonthChange\",\n \"handleYearChange\",\n \"handleFilterTypeChange\",\n \"handleDownloadExcel\",\n \"handleDownloadPDF\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/ExpenseReport.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SppReport\",\n \"loadSppReport\",\n \"handleDownloadExcel\",\n \"handleDownloadPdf\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/SppReport.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"IncomeReport\",\n \"fetchIncomeData\",\n \"handleMonthChange\",\n \"handleYearChange\",\n \"handleFilterTypeChange\",\n \"handleDownloadExcel\",\n \"handleDownloadPDF\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/IncomeReport.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 \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentDataTable\",\n \"fetchData\",\n \"handleDelete\",\n \"onSubmit\",\n \"handleImportButtonClick\",\n \"handleFileChange\",\n \"handleImportExcel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/StudentDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ClassDataTable\",\n \"fetchClasses\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/ClassDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DepartmentDataTable\",\n \"fetchDepartments\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/DepartmentDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SchoolDataForm\",\n \"fetchSchoolData\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/SchoolDataForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPaymentForm\",\n \"fetchStudents\",\n \"handleStudentChange\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/student-payment/StudentPaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPaymentHistory\",\n \"fetchData\",\n \"updateMonthlyTotal\",\n \"getStudentById\",\n \"handleMonthChange\",\n \"handleYearChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/student-payment/StudentPaymentHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/FinancialHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ExpenseForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/ExpenseForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"IncomeForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/IncomeForm.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/utils/api.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Reports\",\n \"checkUserRole\",\n \"handleTabChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Reports.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MasterData\",\n \"handleImportButtonClick\",\n \"handleFileChange\",\n \"handleImport\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/MasterData.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Profile\",\n \"handleUsernameChange\",\n \"handlePasswordChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Finance\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Finance.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Login\",\n \"handleStaffLogin\",\n \"handleStudentLogin\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Login.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPayment\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/StudentPayment.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"UserManagementPage\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/UserManagementPage.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 \"AccessDenied\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/AccessDenied.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/components/Header.tsx\",\n \"src/components/ProtectedRoute.tsx\",\n \"src/components/UserProfile.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
fajri89/madrasah-money-manager
|
Fix: Financial history not updating
Fixes an issue where financial transactions were not being displayed in the history after inputting income and expenses.
|
{
"changed": [
"src/components/ProtectedRoute.tsx",
"src/components/TransactionHistory.tsx",
"src/components/finance/FinancialHistory.tsx",
"src/components/student-payment/StudentPaymentHistory.tsx",
"src/utils/api.ts"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".animate-in",
".text-scroll-container",
"webkit-scrollbar",
".com",
".card-hover",
"components",
"slideInBottom",
"webkit-scrollbar-thumb",
"from",
"to",
"base",
".googleapis",
"fadeIn",
"root",
"hover",
"webkit-scrollbar-track",
".text-scroll",
"body",
".glass-card",
".slide-in-bottom",
"textScroll",
".dark"
]
},
{
"functions": [
"App",
"toggleMenu"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"AuthProvider",
"checkAuth",
"logout",
"hasPermission",
"useAuth"
],
"keys": null,
"path": "src/contexts/AuthContext.tsx",
"selectors": null
},
{
"functions": [
"Dashboard",
"fetchData",
"getRandomTrend",
"renderAdminDashboard",
"renderBendaharaDashboard",
"renderKepalaSekolahDashboard",
"renderSiswaDashboard"
],
"keys": null,
"path": "src/components/Dashboard.tsx",
"selectors": null
},
{
"functions": [
"FinancialCharts"
],
"keys": null,
"path": "src/components/FinancialCharts.tsx",
"selectors": null
},
{
"functions": [
"WhatsAppNotification",
"handleSubmit"
],
"keys": null,
"path": "src/components/WhatsAppNotification.tsx",
"selectors": null
},
{
"functions": [
"AdminSettings",
"handleSave"
],
"keys": null,
"path": "src/components/AdminSettings.tsx",
"selectors": null
},
{
"functions": [
"UserProfile",
"logout",
"getInitials",
"getRoleDisplayName"
],
"keys": null,
"path": "src/components/UserProfile.tsx",
"selectors": null
},
{
"functions": [
"updateMedia",
"handleRouteChange",
"handleClickOutside",
"getMenuItems"
],
"keys": null,
"path": "src/components/Navigation.tsx",
"selectors": null
},
{
"functions": [
"UserManagement",
"fetchUsers",
"handleAddUser",
"handleEditUser",
"handleDeleteUser",
"prepareEditUser",
"resetForm",
"formatRole"
],
"keys": null,
"path": "src/components/UserManagement.tsx",
"selectors": null
},
{
"functions": [
"StudentPayment",
"fetchData",
"getStatusColor",
"sendWhatsAppReminder"
],
"keys": null,
"path": "src/components/StudentPayment.tsx",
"selectors": null
},
{
"functions": [
"SppPaymentCheck",
"handleSearch"
],
"keys": null,
"path": "src/components/SppPaymentCheck.tsx",
"selectors": null
},
{
"functions": [
"TransactionHistory",
"fetchData"
],
"keys": null,
"path": "src/components/TransactionHistory.tsx",
"selectors": null
},
{
"functions": [
"FinanceCard",
"renderIcon"
],
"keys": null,
"path": "src/components/FinanceCard.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"FinancialSummary"
],
"keys": null,
"path": "src/components/FinancialSummary.tsx",
"selectors": null
},
{
"functions": [
"ExpenseReport",
"fetchExpenseData",
"handleMonthChange",
"handleYearChange",
"handleFilterTypeChange",
"handleDownloadExcel",
"handleDownloadPDF"
],
"keys": null,
"path": "src/components/reports/ExpenseReport.tsx",
"selectors": null
},
{
"functions": [
"SppReport",
"loadSppReport",
"handleDownloadExcel",
"handleDownloadPdf"
],
"keys": null,
"path": "src/components/reports/SppReport.tsx",
"selectors": null
},
{
"functions": [
"IncomeReport",
"fetchIncomeData",
"handleMonthChange",
"handleYearChange",
"handleFilterTypeChange",
"handleDownloadExcel",
"handleDownloadPDF"
],
"keys": null,
"path": "src/components/reports/IncomeReport.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": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"StudentDataTable",
"fetchData",
"handleDelete",
"onSubmit",
"handleImportButtonClick",
"handleFileChange",
"handleImportExcel"
],
"keys": null,
"path": "src/components/master/StudentDataTable.tsx",
"selectors": null
},
{
"functions": [
"ClassDataTable",
"fetchClasses",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/ClassDataTable.tsx",
"selectors": null
},
{
"functions": [
"DepartmentDataTable",
"fetchDepartments",
"handleDelete",
"onSubmit"
],
"keys": null,
"path": "src/components/master/DepartmentDataTable.tsx",
"selectors": null
},
{
"functions": [
"SchoolDataForm",
"fetchSchoolData",
"onSubmit"
],
"keys": null,
"path": "src/components/master/SchoolDataForm.tsx",
"selectors": null
},
{
"functions": [
"StudentPaymentForm",
"fetchStudents",
"handleStudentChange",
"onSubmit"
],
"keys": null,
"path": "src/components/student-payment/StudentPaymentForm.tsx",
"selectors": null
},
{
"functions": [
"StudentPaymentHistory",
"fetchData",
"updateMonthlyTotal",
"getStudentById",
"handleMonthChange",
"handleYearChange"
],
"keys": null,
"path": "src/components/student-payment/StudentPaymentHistory.tsx",
"selectors": null
},
{
"functions": [
"FinancialHistory",
"fetchData"
],
"keys": null,
"path": "src/components/finance/FinancialHistory.tsx",
"selectors": null
},
{
"functions": [
"ExpenseForm",
"onSubmit"
],
"keys": null,
"path": "src/components/finance/ExpenseForm.tsx",
"selectors": null
},
{
"functions": [
"IncomeForm",
"onSubmit"
],
"keys": null,
"path": "src/components/finance/IncomeForm.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"if"
],
"keys": null,
"path": "src/utils/api.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Reports",
"checkUserRole",
"handleTabChange"
],
"keys": null,
"path": "src/pages/Reports.tsx",
"selectors": null
},
{
"functions": [
"MasterData",
"handleImportButtonClick",
"handleFileChange",
"handleImport"
],
"keys": null,
"path": "src/pages/MasterData.tsx",
"selectors": null
},
{
"functions": [
"Profile",
"handleUsernameChange",
"handlePasswordChange"
],
"keys": null,
"path": "src/pages/Profile.tsx",
"selectors": null
},
{
"functions": [
"Finance",
"checkUserRole"
],
"keys": null,
"path": "src/pages/Finance.tsx",
"selectors": null
},
{
"functions": [
"Login",
"handleStaffLogin",
"handleStudentLogin"
],
"keys": null,
"path": "src/pages/Login.tsx",
"selectors": null
},
{
"functions": [
"StudentPayment",
"checkUserRole"
],
"keys": null,
"path": "src/pages/StudentPayment.tsx",
"selectors": null
},
{
"functions": [
"UserManagementPage"
],
"keys": null,
"path": "src/pages/UserManagementPage.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"AccessDenied"
],
"keys": null,
"path": "src/pages/AccessDenied.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 34 |
[
{
"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: Financial history not updating\n\nFixes an issue where financial transactions were not being displayed in the history after inputting income and expenses.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".animate-in\",\n \".text-scroll-container\",\n \"webkit-scrollbar\",\n \".com\",\n \".card-hover\",\n \"components\",\n \"slideInBottom\",\n \"webkit-scrollbar-thumb\",\n \"from\",\n \"to\",\n \"base\",\n \".googleapis\",\n \"fadeIn\",\n \"root\",\n \"hover\",\n \"webkit-scrollbar-track\",\n \".text-scroll\",\n \"body\",\n \".glass-card\",\n \".slide-in-bottom\",\n \"textScroll\",\n \".dark\"\n ]\n },\n {\n \"functions\": [\n \"App\",\n \"toggleMenu\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"checkAuth\",\n \"logout\",\n \"hasPermission\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/contexts/AuthContext.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Dashboard\",\n \"fetchData\",\n \"getRandomTrend\",\n \"renderAdminDashboard\",\n \"renderBendaharaDashboard\",\n \"renderKepalaSekolahDashboard\",\n \"renderSiswaDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialCharts\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinancialCharts.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WhatsAppNotification\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/WhatsAppNotification.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdminSettings\",\n \"handleSave\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AdminSettings.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"UserProfile\",\n \"logout\",\n \"getInitials\",\n \"getRoleDisplayName\"\n ],\n \"keys\": null,\n \"path\": \"src/components/UserProfile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"updateMedia\",\n \"handleRouteChange\",\n \"handleClickOutside\",\n \"getMenuItems\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Navigation.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"UserManagement\",\n \"fetchUsers\",\n \"handleAddUser\",\n \"handleEditUser\",\n \"handleDeleteUser\",\n \"prepareEditUser\",\n \"resetForm\",\n \"formatRole\"\n ],\n \"keys\": null,\n \"path\": \"src/components/UserManagement.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPayment\",\n \"fetchData\",\n \"getStatusColor\",\n \"sendWhatsAppReminder\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StudentPayment.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SppPaymentCheck\",\n \"handleSearch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/SppPaymentCheck.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"TransactionHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/TransactionHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinanceCard\",\n \"renderIcon\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinanceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialSummary\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FinancialSummary.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ExpenseReport\",\n \"fetchExpenseData\",\n \"handleMonthChange\",\n \"handleYearChange\",\n \"handleFilterTypeChange\",\n \"handleDownloadExcel\",\n \"handleDownloadPDF\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/ExpenseReport.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SppReport\",\n \"loadSppReport\",\n \"handleDownloadExcel\",\n \"handleDownloadPdf\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/SppReport.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"IncomeReport\",\n \"fetchIncomeData\",\n \"handleMonthChange\",\n \"handleYearChange\",\n \"handleFilterTypeChange\",\n \"handleDownloadExcel\",\n \"handleDownloadPDF\"\n ],\n \"keys\": null,\n \"path\": \"src/components/reports/IncomeReport.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 \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentDataTable\",\n \"fetchData\",\n \"handleDelete\",\n \"onSubmit\",\n \"handleImportButtonClick\",\n \"handleFileChange\",\n \"handleImportExcel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/StudentDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ClassDataTable\",\n \"fetchClasses\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/ClassDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DepartmentDataTable\",\n \"fetchDepartments\",\n \"handleDelete\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/DepartmentDataTable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SchoolDataForm\",\n \"fetchSchoolData\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/master/SchoolDataForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPaymentForm\",\n \"fetchStudents\",\n \"handleStudentChange\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/student-payment/StudentPaymentForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPaymentHistory\",\n \"fetchData\",\n \"updateMonthlyTotal\",\n \"getStudentById\",\n \"handleMonthChange\",\n \"handleYearChange\"\n ],\n \"keys\": null,\n \"path\": \"src/components/student-payment/StudentPaymentHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FinancialHistory\",\n \"fetchData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/FinancialHistory.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ExpenseForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/ExpenseForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"IncomeForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/finance/IncomeForm.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/utils/api.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Reports\",\n \"checkUserRole\",\n \"handleTabChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Reports.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MasterData\",\n \"handleImportButtonClick\",\n \"handleFileChange\",\n \"handleImport\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/MasterData.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Profile\",\n \"handleUsernameChange\",\n \"handlePasswordChange\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Finance\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Finance.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Login\",\n \"handleStaffLogin\",\n \"handleStudentLogin\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Login.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StudentPayment\",\n \"checkUserRole\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/StudentPayment.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"UserManagementPage\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/UserManagementPage.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 \"AccessDenied\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/AccessDenied.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/components/ProtectedRoute.tsx\",\n \"src/components/TransactionHistory.tsx\",\n \"src/components/finance/FinancialHistory.tsx\",\n \"src/components/student-payment/StudentPaymentHistory.tsx\",\n \"src/utils/api.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
Jimmeey2323/planatrix-collab
|
Use tech stack vite_react_shadcn_ts
[skip gpt_engineer]
|
{
"changed": [],
"created": [
".gitignore",
"README.md",
"bun.lockb",
"components.json",
"eslint.config.js",
"index.html",
"package-lock.json",
"package.json",
"postcss.config.js",
"public/favicon.ico",
"public/og-image.png",
"public/placeholder.svg",
"src/App.css",
"src/App.tsx",
"src/components/ui/accordion.tsx",
"src/components/ui/alert-dialog.tsx",
"src/components/ui/alert.tsx",
"src/components/ui/aspect-ratio.tsx",
"src/components/ui/avatar.tsx",
"src/components/ui/badge.tsx",
"src/components/ui/breadcrumb.tsx",
"src/components/ui/button.tsx",
"src/components/ui/calendar.tsx",
"src/components/ui/card.tsx",
"src/components/ui/carousel.tsx",
"src/components/ui/chart.tsx",
"src/components/ui/checkbox.tsx",
"src/components/ui/collapsible.tsx",
"src/components/ui/command.tsx",
"src/components/ui/context-menu.tsx",
"src/components/ui/dialog.tsx",
"src/components/ui/drawer.tsx",
"src/components/ui/dropdown-menu.tsx",
"src/components/ui/form.tsx",
"src/components/ui/hover-card.tsx",
"src/components/ui/input-otp.tsx",
"src/components/ui/input.tsx",
"src/components/ui/label.tsx",
"src/components/ui/menubar.tsx",
"src/components/ui/navigation-menu.tsx",
"src/components/ui/pagination.tsx",
"src/components/ui/popover.tsx",
"src/components/ui/progress.tsx",
"src/components/ui/radio-group.tsx",
"src/components/ui/resizable.tsx",
"src/components/ui/scroll-area.tsx",
"src/components/ui/select.tsx",
"src/components/ui/separator.tsx",
"src/components/ui/sheet.tsx",
"src/components/ui/sidebar.tsx",
"src/components/ui/skeleton.tsx",
"src/components/ui/slider.tsx",
"src/components/ui/sonner.tsx",
"src/components/ui/switch.tsx",
"src/components/ui/table.tsx",
"src/components/ui/tabs.tsx",
"src/components/ui/textarea.tsx",
"src/components/ui/toast.tsx",
"src/components/ui/toaster.tsx",
"src/components/ui/toggle-group.tsx",
"src/components/ui/toggle.tsx",
"src/components/ui/tooltip.tsx",
"src/components/ui/use-toast.ts",
"src/hooks/use-mobile.tsx",
"src/hooks/use-toast.ts",
"src/index.css",
"src/lib/utils.ts",
"src/main.tsx",
"src/pages/Index.tsx",
"src/pages/NotFound.tsx",
"src/vite-env.d.ts",
"tailwind.config.ts",
"tsconfig.app.json",
"tsconfig.json",
"tsconfig.node.json",
"vite.config.ts"
],
"deleted": []
}
|
[] | 0 |
[
{
"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:**\nUse tech stack vite_react_shadcn_ts\n[skip gpt_engineer]\n\n**File Tree Before:**\n[]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [],\n \"created\": [\n \".gitignore\",\n \"README.md\",\n \"bun.lockb\",\n \"components.json\",\n \"eslint.config.js\",\n \"index.html\",\n \"package-lock.json\",\n \"package.json\",\n \"postcss.config.js\",\n \"public/favicon.ico\",\n \"public/og-image.png\",\n \"public/placeholder.svg\",\n \"src/App.css\",\n \"src/App.tsx\",\n \"src/components/ui/accordion.tsx\",\n \"src/components/ui/alert-dialog.tsx\",\n \"src/components/ui/alert.tsx\",\n \"src/components/ui/aspect-ratio.tsx\",\n \"src/components/ui/avatar.tsx\",\n \"src/components/ui/badge.tsx\",\n \"src/components/ui/breadcrumb.tsx\",\n \"src/components/ui/button.tsx\",\n \"src/components/ui/calendar.tsx\",\n \"src/components/ui/card.tsx\",\n \"src/components/ui/carousel.tsx\",\n \"src/components/ui/chart.tsx\",\n \"src/components/ui/checkbox.tsx\",\n \"src/components/ui/collapsible.tsx\",\n \"src/components/ui/command.tsx\",\n \"src/components/ui/context-menu.tsx\",\n \"src/components/ui/dialog.tsx\",\n \"src/components/ui/drawer.tsx\",\n \"src/components/ui/dropdown-menu.tsx\",\n \"src/components/ui/form.tsx\",\n \"src/components/ui/hover-card.tsx\",\n \"src/components/ui/input-otp.tsx\",\n \"src/components/ui/input.tsx\",\n \"src/components/ui/label.tsx\",\n \"src/components/ui/menubar.tsx\",\n \"src/components/ui/navigation-menu.tsx\",\n \"src/components/ui/pagination.tsx\",\n \"src/components/ui/popover.tsx\",\n \"src/components/ui/progress.tsx\",\n \"src/components/ui/radio-group.tsx\",\n \"src/components/ui/resizable.tsx\",\n \"src/components/ui/scroll-area.tsx\",\n \"src/components/ui/select.tsx\",\n \"src/components/ui/separator.tsx\",\n \"src/components/ui/sheet.tsx\",\n \"src/components/ui/sidebar.tsx\",\n \"src/components/ui/skeleton.tsx\",\n \"src/components/ui/slider.tsx\",\n \"src/components/ui/sonner.tsx\",\n \"src/components/ui/switch.tsx\",\n \"src/components/ui/table.tsx\",\n \"src/components/ui/tabs.tsx\",\n \"src/components/ui/textarea.tsx\",\n \"src/components/ui/toast.tsx\",\n \"src/components/ui/toaster.tsx\",\n \"src/components/ui/toggle-group.tsx\",\n \"src/components/ui/toggle.tsx\",\n \"src/components/ui/tooltip.tsx\",\n \"src/components/ui/use-toast.ts\",\n \"src/hooks/use-mobile.tsx\",\n \"src/hooks/use-toast.ts\",\n \"src/index.css\",\n \"src/lib/utils.ts\",\n \"src/main.tsx\",\n \"src/pages/Index.tsx\",\n \"src/pages/NotFound.tsx\",\n \"src/vite-env.d.ts\",\n \"tailwind.config.ts\",\n \"tsconfig.app.json\",\n \"tsconfig.json\",\n \"tsconfig.node.json\",\n \"vite.config.ts\"\n ],\n \"deleted\": []\n}"
}
] |
Jimmeey2323/planatrix-collab
|
Implement project planning platform
Implement a multi-user project planning platform with real-time collaboration, AI assistance, Google services integration, and comprehensive timeline management.
|
{
"changed": [
"package-lock.json",
"package.json",
"src/App.tsx",
"src/index.css",
"src/pages/Index.tsx",
"tailwind.config.ts"
],
"created": [
"src/assets/logo.tsx",
"src/components/dashboard/Dashboard.tsx",
"src/components/layout/Navbar.tsx",
"src/components/layout/Sidebar.tsx",
"src/components/projects/ProjectCard.tsx",
"src/components/tasks/TaskList.tsx",
"src/components/ui/AvatarStack.tsx",
"src/lib/types.ts"
],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".dark",
"root",
"base",
"body"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.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": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 1 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nImplement project planning platform\n\nImplement a multi-user project planning platform with real-time collaboration, AI assistance, Google services integration, and comprehensive timeline management.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".dark\",\n \"root\",\n \"base\",\n \"body\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.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 \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"package-lock.json\",\n \"package.json\",\n \"src/App.tsx\",\n \"src/index.css\",\n \"src/pages/Index.tsx\",\n \"tailwind.config.ts\"\n ],\n \"created\": [\n \"src/assets/logo.tsx\",\n \"src/components/dashboard/Dashboard.tsx\",\n \"src/components/layout/Navbar.tsx\",\n \"src/components/layout/Sidebar.tsx\",\n \"src/components/projects/ProjectCard.tsx\",\n \"src/components/tasks/TaskList.tsx\",\n \"src/components/ui/AvatarStack.tsx\",\n \"src/lib/types.ts\"\n ],\n \"deleted\": []\n}"
}
] |
Jimmeey2323/planatrix-collab
|
Implement complete interface features
Implement the complete interface with fully functional features, leveraging the existing Supabase integration.
|
{
"changed": [
"package-lock.json",
"package.json",
"src/App.tsx",
"src/components/ui/badge.tsx",
"src/components/ui/command.tsx",
"src/components/ui/dialog.tsx",
"src/components/ui/tabs.tsx",
"src/components/ui/textarea.tsx",
"src/lib/types.ts"
],
"created": [
"src/components/auth/ProtectedRoute.tsx",
"src/components/projects/CreateProjectDialog.tsx",
"src/components/projects/EditProjectDialog.tsx",
"src/components/projects/KanbanBoard.tsx",
"src/components/projects/ProjectTimeline.tsx",
"src/components/tasks/CreateTaskDialog.tsx",
"src/components/ui/multi-select.tsx",
"src/hooks/use-dashboard.ts",
"src/hooks/use-projects.ts",
"src/hooks/use-tasks.ts",
"src/hooks/use-users.ts",
"src/lib/auth-context.tsx",
"src/lib/database.types.ts",
"src/lib/supabase.ts",
"src/pages/Login.tsx",
"src/pages/ProjectDetails.tsx",
"src/pages/Projects.tsx",
"src/pages/Register.tsx"
],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".status-todo",
"webkit-scrollbar",
".text-balance",
".status-in-progress",
"html",
"components",
".content-area",
".status-pill",
".hover-scale",
"webkit-scrollbar-thumb",
".main-layout",
".status-review",
"base",
"utilities",
".custom-scrollbar",
"root",
".priority-low",
"webkit-scrollbar-track",
".status-done",
"body",
".glass-card",
".priority-high",
".priority-medium",
".dark",
".subtle-border"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"Dashboard",
"switch"
],
"keys": null,
"path": "src/components/dashboard/Dashboard.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": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"Navbar"
],
"keys": null,
"path": "src/components/layout/Navbar.tsx",
"selectors": null
},
{
"functions": [
"Sidebar",
"toggleSidebar"
],
"keys": null,
"path": "src/components/layout/Sidebar.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"FC"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 2 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nImplement complete interface features\n\nImplement the complete interface with fully functional features, leveraging the existing Supabase integration.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".status-todo\",\n \"webkit-scrollbar\",\n \".text-balance\",\n \".status-in-progress\",\n \"html\",\n \"components\",\n \".content-area\",\n \".status-pill\",\n \".hover-scale\",\n \"webkit-scrollbar-thumb\",\n \".main-layout\",\n \".status-review\",\n \"base\",\n \"utilities\",\n \".custom-scrollbar\",\n \"root\",\n \".priority-low\",\n \"webkit-scrollbar-track\",\n \".status-done\",\n \"body\",\n \".glass-card\",\n \".priority-high\",\n \".priority-medium\",\n \".dark\",\n \".subtle-border\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Dashboard\",\n \"switch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/dashboard/Dashboard.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 \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Navbar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/layout/Navbar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"toggleSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/layout/Sidebar.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 \"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 \"FC\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"package-lock.json\",\n \"package.json\",\n \"src/App.tsx\",\n \"src/components/ui/badge.tsx\",\n \"src/components/ui/command.tsx\",\n \"src/components/ui/dialog.tsx\",\n \"src/components/ui/tabs.tsx\",\n \"src/components/ui/textarea.tsx\",\n \"src/lib/types.ts\"\n ],\n \"created\": [\n \"src/components/auth/ProtectedRoute.tsx\",\n \"src/components/projects/CreateProjectDialog.tsx\",\n \"src/components/projects/EditProjectDialog.tsx\",\n \"src/components/projects/KanbanBoard.tsx\",\n \"src/components/projects/ProjectTimeline.tsx\",\n \"src/components/tasks/CreateTaskDialog.tsx\",\n \"src/components/ui/multi-select.tsx\",\n \"src/hooks/use-dashboard.ts\",\n \"src/hooks/use-projects.ts\",\n \"src/hooks/use-tasks.ts\",\n \"src/hooks/use-users.ts\",\n \"src/lib/auth-context.tsx\",\n \"src/lib/database.types.ts\",\n \"src/lib/supabase.ts\",\n \"src/pages/Login.tsx\",\n \"src/pages/ProjectDetails.tsx\",\n \"src/pages/Projects.tsx\",\n \"src/pages/Register.tsx\"\n ],\n \"deleted\": []\n}"
}
] |
Jimmeey2323/planatrix-collab
|
Fix: Resolve Supabase import error
The commit resolves an issue where the "@supabase/supabase-js" import was failing in "src/lib/supabase.ts". This was due to the package not being installed. The fix involves installing the missing package.
|
{
"changed": [
"package-lock.json",
"package.json",
"src/components/projects/CreateProjectDialog.tsx",
"src/components/projects/EditProjectDialog.tsx",
"src/components/projects/ProjectCard.tsx",
"src/components/projects/ProjectTimeline.tsx",
"src/pages/Projects.tsx"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".status-todo",
"webkit-scrollbar",
".text-balance",
".status-in-progress",
"html",
"components",
".content-area",
".status-pill",
".hover-scale",
"webkit-scrollbar-thumb",
".main-layout",
".status-review",
"base",
"utilities",
".custom-scrollbar",
"root",
".priority-low",
"webkit-scrollbar-track",
".status-done",
"body",
".glass-card",
".priority-high",
".priority-medium",
".dark",
".subtle-border"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"getTimelineDates",
"navigatePrevious",
"navigateNext"
],
"keys": null,
"path": "src/components/projects/ProjectTimeline.tsx",
"selectors": null
},
{
"functions": [
"onSubmit"
],
"keys": null,
"path": "src/components/projects/CreateProjectDialog.tsx",
"selectors": null
},
{
"functions": [
"handleDragEnd"
],
"keys": null,
"path": "src/components/projects/KanbanBoard.tsx",
"selectors": null
},
{
"functions": [
"onSubmit"
],
"keys": null,
"path": "src/components/projects/EditProjectDialog.tsx",
"selectors": null
},
{
"functions": [
"Dashboard",
"switch"
],
"keys": null,
"path": "src/components/dashboard/Dashboard.tsx",
"selectors": null
},
{
"functions": [
"MultiSelect"
],
"keys": null,
"path": "src/components/ui/multi-select.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": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"onSubmit"
],
"keys": null,
"path": "src/components/tasks/CreateTaskDialog.tsx",
"selectors": null
},
{
"functions": [
"Navbar"
],
"keys": null,
"path": "src/components/layout/Navbar.tsx",
"selectors": null
},
{
"functions": [
"Sidebar",
"toggleSidebar"
],
"keys": null,
"path": "src/components/layout/Sidebar.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"getSession",
"signIn",
"signUp",
"signOut",
"resetPassword",
"useAuth"
],
"keys": null,
"path": "src/lib/auth-context.tsx",
"selectors": null
},
{
"functions": [
"transformUser",
"useUsers",
"updateUser",
"useGetUsers",
"useGetUser",
"useUpdateUser"
],
"keys": null,
"path": "src/hooks/use-users.ts",
"selectors": null
},
{
"functions": [
"transformProject",
"useProjects"
],
"keys": null,
"path": "src/hooks/use-projects.ts",
"selectors": null
},
{
"functions": [
"useDashboard",
"useGetDashboard"
],
"keys": null,
"path": "src/hooks/use-dashboard.ts",
"selectors": null
},
{
"functions": [
"transformTask",
"useTasks"
],
"keys": null,
"path": "src/hooks/use-tasks.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Register",
"onSubmit"
],
"keys": null,
"path": "src/pages/Register.tsx",
"selectors": null
},
{
"functions": [
"FC",
"onSubmit"
],
"keys": null,
"path": "src/pages/Login.tsx",
"selectors": null
},
{
"functions": [
"FC"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"Projects"
],
"keys": null,
"path": "src/pages/Projects.tsx",
"selectors": null
},
{
"functions": [
"ProjectDetails",
"handleDeleteProject"
],
"keys": null,
"path": "src/pages/ProjectDetails.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 3 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nFix: Resolve Supabase import error\n\nThe commit resolves an issue where the \"@supabase/supabase-js\" import was failing in \"src/lib/supabase.ts\". This was due to the package not being installed. The fix involves installing the missing package.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".status-todo\",\n \"webkit-scrollbar\",\n \".text-balance\",\n \".status-in-progress\",\n \"html\",\n \"components\",\n \".content-area\",\n \".status-pill\",\n \".hover-scale\",\n \"webkit-scrollbar-thumb\",\n \".main-layout\",\n \".status-review\",\n \"base\",\n \"utilities\",\n \".custom-scrollbar\",\n \"root\",\n \".priority-low\",\n \"webkit-scrollbar-track\",\n \".status-done\",\n \"body\",\n \".glass-card\",\n \".priority-high\",\n \".priority-medium\",\n \".dark\",\n \".subtle-border\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getTimelineDates\",\n \"navigatePrevious\",\n \"navigateNext\"\n ],\n \"keys\": null,\n \"path\": \"src/components/projects/ProjectTimeline.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/projects/CreateProjectDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleDragEnd\"\n ],\n \"keys\": null,\n \"path\": \"src/components/projects/KanbanBoard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/projects/EditProjectDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Dashboard\",\n \"switch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/dashboard/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MultiSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/multi-select.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 \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/tasks/CreateTaskDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Navbar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/layout/Navbar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"toggleSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/layout/Sidebar.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 \"getSession\",\n \"signIn\",\n \"signUp\",\n \"signOut\",\n \"resetPassword\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/auth-context.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"transformUser\",\n \"useUsers\",\n \"updateUser\",\n \"useGetUsers\",\n \"useGetUser\",\n \"useUpdateUser\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-users.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"transformProject\",\n \"useProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-projects.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useDashboard\",\n \"useGetDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-dashboard.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"transformTask\",\n \"useTasks\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-tasks.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Register\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Register.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FC\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Login.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FC\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Projects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Projects.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectDetails\",\n \"handleDeleteProject\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/ProjectDetails.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\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/components/projects/CreateProjectDialog.tsx\",\n \"src/components/projects/EditProjectDialog.tsx\",\n \"src/components/projects/ProjectCard.tsx\",\n \"src/components/projects/ProjectTimeline.tsx\",\n \"src/pages/Projects.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
Jimmeey2323/planatrix-collab
|
Fix Typescript errors
Fixes Typescript errors in project and task components.
- Corrects type assignment for project status in CreateProjectDialog.
- Corrects type definition for dueDate in EditProjectDialog.
- Fixes AvatarStack import in ProjectCard and Projects.
- Fixes type error in use-tasks hook.
|
{
"changed": [
"src/components/projects/CreateProjectDialog.tsx",
"src/components/projects/EditProjectDialog.tsx",
"src/components/projects/ProjectCard.tsx",
"src/hooks/use-tasks.ts",
"src/pages/Projects.tsx"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".status-todo",
"webkit-scrollbar",
".text-balance",
".status-in-progress",
"html",
"components",
".content-area",
".status-pill",
".hover-scale",
"webkit-scrollbar-thumb",
".main-layout",
".status-review",
"base",
"utilities",
".custom-scrollbar",
"root",
".priority-low",
"webkit-scrollbar-track",
".status-done",
"body",
".glass-card",
".priority-high",
".priority-medium",
".dark",
".subtle-border"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"getTimelineDates",
"navigatePrevious",
"navigateNext"
],
"keys": null,
"path": "src/components/projects/ProjectTimeline.tsx",
"selectors": null
},
{
"functions": [
"onSubmit"
],
"keys": null,
"path": "src/components/projects/CreateProjectDialog.tsx",
"selectors": null
},
{
"functions": [
"handleDragEnd"
],
"keys": null,
"path": "src/components/projects/KanbanBoard.tsx",
"selectors": null
},
{
"functions": [
"onSubmit",
"handleAddCategory",
"handleRemoveCategory"
],
"keys": null,
"path": "src/components/projects/EditProjectDialog.tsx",
"selectors": null
},
{
"functions": [
"Dashboard",
"switch"
],
"keys": null,
"path": "src/components/dashboard/Dashboard.tsx",
"selectors": null
},
{
"functions": [
"MultiSelect"
],
"keys": null,
"path": "src/components/ui/multi-select.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": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"onSubmit"
],
"keys": null,
"path": "src/components/tasks/CreateTaskDialog.tsx",
"selectors": null
},
{
"functions": [
"Navbar"
],
"keys": null,
"path": "src/components/layout/Navbar.tsx",
"selectors": null
},
{
"functions": [
"Sidebar",
"toggleSidebar"
],
"keys": null,
"path": "src/components/layout/Sidebar.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"getSession",
"signIn",
"signUp",
"signOut",
"resetPassword",
"useAuth"
],
"keys": null,
"path": "src/lib/auth-context.tsx",
"selectors": null
},
{
"functions": [
"transformUser",
"useUsers",
"updateUser",
"useGetUsers",
"useGetUser",
"useUpdateUser"
],
"keys": null,
"path": "src/hooks/use-users.ts",
"selectors": null
},
{
"functions": [
"transformProject",
"useProjects"
],
"keys": null,
"path": "src/hooks/use-projects.ts",
"selectors": null
},
{
"functions": [
"useDashboard",
"useGetDashboard"
],
"keys": null,
"path": "src/hooks/use-dashboard.ts",
"selectors": null
},
{
"functions": [
"transformTask",
"useTasks"
],
"keys": null,
"path": "src/hooks/use-tasks.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Register",
"onSubmit"
],
"keys": null,
"path": "src/pages/Register.tsx",
"selectors": null
},
{
"functions": [
"FC",
"onSubmit"
],
"keys": null,
"path": "src/pages/Login.tsx",
"selectors": null
},
{
"functions": [
"FC"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"Projects"
],
"keys": null,
"path": "src/pages/Projects.tsx",
"selectors": null
},
{
"functions": [
"ProjectDetails",
"handleDeleteProject"
],
"keys": null,
"path": "src/pages/ProjectDetails.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 4 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nFix Typescript errors\n\nFixes Typescript errors in project and task components.\n- Corrects type assignment for project status in CreateProjectDialog.\n- Corrects type definition for dueDate in EditProjectDialog.\n- Fixes AvatarStack import in ProjectCard and Projects.\n- Fixes type error in use-tasks hook.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".status-todo\",\n \"webkit-scrollbar\",\n \".text-balance\",\n \".status-in-progress\",\n \"html\",\n \"components\",\n \".content-area\",\n \".status-pill\",\n \".hover-scale\",\n \"webkit-scrollbar-thumb\",\n \".main-layout\",\n \".status-review\",\n \"base\",\n \"utilities\",\n \".custom-scrollbar\",\n \"root\",\n \".priority-low\",\n \"webkit-scrollbar-track\",\n \".status-done\",\n \"body\",\n \".glass-card\",\n \".priority-high\",\n \".priority-medium\",\n \".dark\",\n \".subtle-border\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getTimelineDates\",\n \"navigatePrevious\",\n \"navigateNext\"\n ],\n \"keys\": null,\n \"path\": \"src/components/projects/ProjectTimeline.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/projects/CreateProjectDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleDragEnd\"\n ],\n \"keys\": null,\n \"path\": \"src/components/projects/KanbanBoard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\",\n \"handleAddCategory\",\n \"handleRemoveCategory\"\n ],\n \"keys\": null,\n \"path\": \"src/components/projects/EditProjectDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Dashboard\",\n \"switch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/dashboard/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MultiSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/multi-select.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 \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/tasks/CreateTaskDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Navbar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/layout/Navbar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"toggleSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/layout/Sidebar.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 \"getSession\",\n \"signIn\",\n \"signUp\",\n \"signOut\",\n \"resetPassword\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/auth-context.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"transformUser\",\n \"useUsers\",\n \"updateUser\",\n \"useGetUsers\",\n \"useGetUser\",\n \"useUpdateUser\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-users.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"transformProject\",\n \"useProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-projects.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useDashboard\",\n \"useGetDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-dashboard.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"transformTask\",\n \"useTasks\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-tasks.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Register\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Register.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FC\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Login.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FC\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Projects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Projects.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectDetails\",\n \"handleDeleteProject\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/ProjectDetails.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/components/projects/CreateProjectDialog.tsx\",\n \"src/components/projects/EditProjectDialog.tsx\",\n \"src/components/projects/ProjectCard.tsx\",\n \"src/hooks/use-tasks.ts\",\n \"src/pages/Projects.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
Jimmeey2323/planatrix-collab
|
Fix blank page issue
Addresses an issue where the application was displaying a blank page.
|
{
"changed": [
"src/components/dashboard/Dashboard.tsx",
"src/components/projects/ProjectCard.tsx",
"src/lib/supabase.ts"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".status-todo",
"webkit-scrollbar",
".text-balance",
".status-in-progress",
"html",
"components",
".content-area",
".status-pill",
".hover-scale",
"webkit-scrollbar-thumb",
".main-layout",
".status-review",
"base",
"utilities",
".custom-scrollbar",
"root",
".priority-low",
"webkit-scrollbar-track",
".status-done",
"body",
".glass-card",
".priority-high",
".priority-medium",
".dark",
".subtle-border"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"getTimelineDates",
"navigatePrevious",
"navigateNext"
],
"keys": null,
"path": "src/components/projects/ProjectTimeline.tsx",
"selectors": null
},
{
"functions": [
"onSubmit"
],
"keys": null,
"path": "src/components/projects/CreateProjectDialog.tsx",
"selectors": null
},
{
"functions": [
"handleDragEnd"
],
"keys": null,
"path": "src/components/projects/KanbanBoard.tsx",
"selectors": null
},
{
"functions": [
"onSubmit",
"handleAddCategory",
"handleRemoveCategory"
],
"keys": null,
"path": "src/components/projects/EditProjectDialog.tsx",
"selectors": null
},
{
"functions": [
"Dashboard",
"switch"
],
"keys": null,
"path": "src/components/dashboard/Dashboard.tsx",
"selectors": null
},
{
"functions": [
"MultiSelect"
],
"keys": null,
"path": "src/components/ui/multi-select.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": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"onSubmit"
],
"keys": null,
"path": "src/components/tasks/CreateTaskDialog.tsx",
"selectors": null
},
{
"functions": [
"Navbar"
],
"keys": null,
"path": "src/components/layout/Navbar.tsx",
"selectors": null
},
{
"functions": [
"Sidebar",
"toggleSidebar"
],
"keys": null,
"path": "src/components/layout/Sidebar.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"getSession",
"signIn",
"signUp",
"signOut",
"resetPassword",
"useAuth"
],
"keys": null,
"path": "src/lib/auth-context.tsx",
"selectors": null
},
{
"functions": [
"transformUser",
"useUsers",
"updateUser",
"useGetUsers",
"useGetUser",
"useUpdateUser"
],
"keys": null,
"path": "src/hooks/use-users.ts",
"selectors": null
},
{
"functions": [
"transformProject",
"useProjects"
],
"keys": null,
"path": "src/hooks/use-projects.ts",
"selectors": null
},
{
"functions": [
"useDashboard",
"useGetDashboard"
],
"keys": null,
"path": "src/hooks/use-dashboard.ts",
"selectors": null
},
{
"functions": [
"transformTask",
"useTasks",
"fetchProjectId"
],
"keys": null,
"path": "src/hooks/use-tasks.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Register",
"onSubmit"
],
"keys": null,
"path": "src/pages/Register.tsx",
"selectors": null
},
{
"functions": [
"FC",
"onSubmit"
],
"keys": null,
"path": "src/pages/Login.tsx",
"selectors": null
},
{
"functions": [
"FC"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"Projects"
],
"keys": null,
"path": "src/pages/Projects.tsx",
"selectors": null
},
{
"functions": [
"ProjectDetails",
"handleDeleteProject"
],
"keys": null,
"path": "src/pages/ProjectDetails.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 5 |
[
{
"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 blank page issue\n\nAddresses an issue where the application was displaying a blank page.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".status-todo\",\n \"webkit-scrollbar\",\n \".text-balance\",\n \".status-in-progress\",\n \"html\",\n \"components\",\n \".content-area\",\n \".status-pill\",\n \".hover-scale\",\n \"webkit-scrollbar-thumb\",\n \".main-layout\",\n \".status-review\",\n \"base\",\n \"utilities\",\n \".custom-scrollbar\",\n \"root\",\n \".priority-low\",\n \"webkit-scrollbar-track\",\n \".status-done\",\n \"body\",\n \".glass-card\",\n \".priority-high\",\n \".priority-medium\",\n \".dark\",\n \".subtle-border\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getTimelineDates\",\n \"navigatePrevious\",\n \"navigateNext\"\n ],\n \"keys\": null,\n \"path\": \"src/components/projects/ProjectTimeline.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/projects/CreateProjectDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleDragEnd\"\n ],\n \"keys\": null,\n \"path\": \"src/components/projects/KanbanBoard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\",\n \"handleAddCategory\",\n \"handleRemoveCategory\"\n ],\n \"keys\": null,\n \"path\": \"src/components/projects/EditProjectDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Dashboard\",\n \"switch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/dashboard/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MultiSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/multi-select.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 \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/tasks/CreateTaskDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Navbar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/layout/Navbar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"toggleSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/layout/Sidebar.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 \"getSession\",\n \"signIn\",\n \"signUp\",\n \"signOut\",\n \"resetPassword\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/auth-context.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"transformUser\",\n \"useUsers\",\n \"updateUser\",\n \"useGetUsers\",\n \"useGetUser\",\n \"useUpdateUser\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-users.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"transformProject\",\n \"useProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-projects.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useDashboard\",\n \"useGetDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-dashboard.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"transformTask\",\n \"useTasks\",\n \"fetchProjectId\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-tasks.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Register\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Register.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FC\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Login.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FC\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Projects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Projects.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectDetails\",\n \"handleDeleteProject\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/ProjectDetails.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/components/dashboard/Dashboard.tsx\",\n \"src/components/projects/ProjectCard.tsx\",\n \"src/lib/supabase.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
Jimmeey2323/planatrix-collab
|
Connect to Supabase project
Add Supabase configuration and types to the project.
|
{
"changed": [
"package-lock.json",
"package.json"
],
"created": [
"src/integrations/supabase/client.ts",
"src/integrations/supabase/types.ts",
"supabase/config.toml"
],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".status-todo",
"webkit-scrollbar",
".text-balance",
".status-in-progress",
"html",
"components",
".content-area",
".status-pill",
".hover-scale",
"webkit-scrollbar-thumb",
".main-layout",
".status-review",
"base",
"utilities",
".custom-scrollbar",
"root",
".priority-low",
"webkit-scrollbar-track",
".status-done",
"body",
".glass-card",
".priority-high",
".priority-medium",
".dark",
".subtle-border"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"getTimelineDates",
"navigatePrevious",
"navigateNext"
],
"keys": null,
"path": "src/components/projects/ProjectTimeline.tsx",
"selectors": null
},
{
"functions": [
"onSubmit"
],
"keys": null,
"path": "src/components/projects/CreateProjectDialog.tsx",
"selectors": null
},
{
"functions": [
"handleDragEnd"
],
"keys": null,
"path": "src/components/projects/KanbanBoard.tsx",
"selectors": null
},
{
"functions": [
"onSubmit",
"handleAddCategory",
"handleRemoveCategory"
],
"keys": null,
"path": "src/components/projects/EditProjectDialog.tsx",
"selectors": null
},
{
"functions": [
"Dashboard",
"switch"
],
"keys": null,
"path": "src/components/dashboard/Dashboard.tsx",
"selectors": null
},
{
"functions": [
"MultiSelect"
],
"keys": null,
"path": "src/components/ui/multi-select.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": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"onSubmit"
],
"keys": null,
"path": "src/components/tasks/CreateTaskDialog.tsx",
"selectors": null
},
{
"functions": [
"Navbar"
],
"keys": null,
"path": "src/components/layout/Navbar.tsx",
"selectors": null
},
{
"functions": [
"Sidebar",
"toggleSidebar"
],
"keys": null,
"path": "src/components/layout/Sidebar.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"getSession",
"signIn",
"signUp",
"signOut",
"resetPassword",
"useAuth"
],
"keys": null,
"path": "src/lib/auth-context.tsx",
"selectors": null
},
{
"functions": [
"transformUser",
"useUsers",
"updateUser",
"useGetUsers",
"useGetUser",
"useUpdateUser"
],
"keys": null,
"path": "src/hooks/use-users.ts",
"selectors": null
},
{
"functions": [
"transformProject",
"useProjects"
],
"keys": null,
"path": "src/hooks/use-projects.ts",
"selectors": null
},
{
"functions": [
"useDashboard",
"useGetDashboard"
],
"keys": null,
"path": "src/hooks/use-dashboard.ts",
"selectors": null
},
{
"functions": [
"transformTask",
"useTasks",
"fetchProjectId"
],
"keys": null,
"path": "src/hooks/use-tasks.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Register",
"onSubmit"
],
"keys": null,
"path": "src/pages/Register.tsx",
"selectors": null
},
{
"functions": [
"FC",
"onSubmit"
],
"keys": null,
"path": "src/pages/Login.tsx",
"selectors": null
},
{
"functions": [
"FC"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"Projects"
],
"keys": null,
"path": "src/pages/Projects.tsx",
"selectors": null
},
{
"functions": [
"ProjectDetails",
"handleDeleteProject"
],
"keys": null,
"path": "src/pages/ProjectDetails.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 6 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nConnect to Supabase project\n\nAdd Supabase configuration and types to the project.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".status-todo\",\n \"webkit-scrollbar\",\n \".text-balance\",\n \".status-in-progress\",\n \"html\",\n \"components\",\n \".content-area\",\n \".status-pill\",\n \".hover-scale\",\n \"webkit-scrollbar-thumb\",\n \".main-layout\",\n \".status-review\",\n \"base\",\n \"utilities\",\n \".custom-scrollbar\",\n \"root\",\n \".priority-low\",\n \"webkit-scrollbar-track\",\n \".status-done\",\n \"body\",\n \".glass-card\",\n \".priority-high\",\n \".priority-medium\",\n \".dark\",\n \".subtle-border\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getTimelineDates\",\n \"navigatePrevious\",\n \"navigateNext\"\n ],\n \"keys\": null,\n \"path\": \"src/components/projects/ProjectTimeline.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/projects/CreateProjectDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleDragEnd\"\n ],\n \"keys\": null,\n \"path\": \"src/components/projects/KanbanBoard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\",\n \"handleAddCategory\",\n \"handleRemoveCategory\"\n ],\n \"keys\": null,\n \"path\": \"src/components/projects/EditProjectDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Dashboard\",\n \"switch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/dashboard/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MultiSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/multi-select.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 \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/tasks/CreateTaskDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Navbar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/layout/Navbar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"toggleSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/layout/Sidebar.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 \"getSession\",\n \"signIn\",\n \"signUp\",\n \"signOut\",\n \"resetPassword\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/auth-context.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"transformUser\",\n \"useUsers\",\n \"updateUser\",\n \"useGetUsers\",\n \"useGetUser\",\n \"useUpdateUser\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-users.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"transformProject\",\n \"useProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-projects.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useDashboard\",\n \"useGetDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-dashboard.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"transformTask\",\n \"useTasks\",\n \"fetchProjectId\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-tasks.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Register\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Register.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FC\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Login.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FC\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Projects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Projects.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectDetails\",\n \"handleDeleteProject\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/ProjectDetails.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\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 ],\n \"created\": [\n \"src/integrations/supabase/client.ts\",\n \"src/integrations/supabase/types.ts\",\n \"supabase/config.toml\"\n ],\n \"deleted\": []\n}"
}
] |
Jimmeey2323/planatrix-collab
|
Implement GitHub sign-in
Implements GitHub authentication and adds a passcode bypass.
|
{
"changed": [
"src/lib/auth-context.tsx",
"src/pages/Login.tsx"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".status-todo",
"webkit-scrollbar",
".text-balance",
".status-in-progress",
"html",
"components",
".content-area",
".status-pill",
".hover-scale",
"webkit-scrollbar-thumb",
".main-layout",
".status-review",
"base",
"utilities",
".custom-scrollbar",
"root",
".priority-low",
"webkit-scrollbar-track",
".status-done",
"body",
".glass-card",
".priority-high",
".priority-medium",
".dark",
".subtle-border"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"getTimelineDates",
"navigatePrevious",
"navigateNext"
],
"keys": null,
"path": "src/components/projects/ProjectTimeline.tsx",
"selectors": null
},
{
"functions": [
"onSubmit"
],
"keys": null,
"path": "src/components/projects/CreateProjectDialog.tsx",
"selectors": null
},
{
"functions": [
"handleDragEnd"
],
"keys": null,
"path": "src/components/projects/KanbanBoard.tsx",
"selectors": null
},
{
"functions": [
"onSubmit",
"handleAddCategory",
"handleRemoveCategory"
],
"keys": null,
"path": "src/components/projects/EditProjectDialog.tsx",
"selectors": null
},
{
"functions": [
"Dashboard",
"switch"
],
"keys": null,
"path": "src/components/dashboard/Dashboard.tsx",
"selectors": null
},
{
"functions": [
"MultiSelect"
],
"keys": null,
"path": "src/components/ui/multi-select.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": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"onSubmit"
],
"keys": null,
"path": "src/components/tasks/CreateTaskDialog.tsx",
"selectors": null
},
{
"functions": [
"Navbar"
],
"keys": null,
"path": "src/components/layout/Navbar.tsx",
"selectors": null
},
{
"functions": [
"Sidebar",
"toggleSidebar"
],
"keys": null,
"path": "src/components/layout/Sidebar.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"getSession",
"signIn",
"signUp",
"signOut",
"resetPassword",
"useAuth"
],
"keys": null,
"path": "src/lib/auth-context.tsx",
"selectors": null
},
{
"functions": [
"transformUser",
"useUsers",
"updateUser",
"useGetUsers",
"useGetUser",
"useUpdateUser"
],
"keys": null,
"path": "src/hooks/use-users.ts",
"selectors": null
},
{
"functions": [
"transformProject",
"useProjects"
],
"keys": null,
"path": "src/hooks/use-projects.ts",
"selectors": null
},
{
"functions": [
"useDashboard",
"useGetDashboard"
],
"keys": null,
"path": "src/hooks/use-dashboard.ts",
"selectors": null
},
{
"functions": [
"transformTask",
"useTasks",
"fetchProjectId"
],
"keys": null,
"path": "src/hooks/use-tasks.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Register",
"onSubmit"
],
"keys": null,
"path": "src/pages/Register.tsx",
"selectors": null
},
{
"functions": [
"FC",
"onSubmit"
],
"keys": null,
"path": "src/pages/Login.tsx",
"selectors": null
},
{
"functions": [
"FC"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"Projects"
],
"keys": null,
"path": "src/pages/Projects.tsx",
"selectors": null
},
{
"functions": [
"ProjectDetails",
"handleDeleteProject"
],
"keys": null,
"path": "src/pages/ProjectDetails.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 7 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nImplement GitHub sign-in\n\nImplements GitHub authentication and adds a passcode bypass.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".status-todo\",\n \"webkit-scrollbar\",\n \".text-balance\",\n \".status-in-progress\",\n \"html\",\n \"components\",\n \".content-area\",\n \".status-pill\",\n \".hover-scale\",\n \"webkit-scrollbar-thumb\",\n \".main-layout\",\n \".status-review\",\n \"base\",\n \"utilities\",\n \".custom-scrollbar\",\n \"root\",\n \".priority-low\",\n \"webkit-scrollbar-track\",\n \".status-done\",\n \"body\",\n \".glass-card\",\n \".priority-high\",\n \".priority-medium\",\n \".dark\",\n \".subtle-border\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getTimelineDates\",\n \"navigatePrevious\",\n \"navigateNext\"\n ],\n \"keys\": null,\n \"path\": \"src/components/projects/ProjectTimeline.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/projects/CreateProjectDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleDragEnd\"\n ],\n \"keys\": null,\n \"path\": \"src/components/projects/KanbanBoard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\",\n \"handleAddCategory\",\n \"handleRemoveCategory\"\n ],\n \"keys\": null,\n \"path\": \"src/components/projects/EditProjectDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Dashboard\",\n \"switch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/dashboard/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MultiSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/multi-select.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 \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/tasks/CreateTaskDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Navbar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/layout/Navbar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"toggleSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/layout/Sidebar.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 \"getSession\",\n \"signIn\",\n \"signUp\",\n \"signOut\",\n \"resetPassword\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/auth-context.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"transformUser\",\n \"useUsers\",\n \"updateUser\",\n \"useGetUsers\",\n \"useGetUser\",\n \"useUpdateUser\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-users.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"transformProject\",\n \"useProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-projects.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useDashboard\",\n \"useGetDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-dashboard.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"transformTask\",\n \"useTasks\",\n \"fetchProjectId\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-tasks.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Register\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Register.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FC\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Login.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FC\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Projects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Projects.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectDetails\",\n \"handleDeleteProject\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/ProjectDetails.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/lib/auth-context.tsx\",\n \"src/pages/Login.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
Jimmeey2323/planatrix-collab
|
Fix Typescript errors in auth-context
Fixes Typescript errors related to supabase table types in the auth-context.tsx file.
|
{
"changed": [
"src/lib/auth-context.tsx"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".status-todo",
"webkit-scrollbar",
".text-balance",
".status-in-progress",
"html",
"components",
".content-area",
".status-pill",
".hover-scale",
"webkit-scrollbar-thumb",
".main-layout",
".status-review",
"base",
"utilities",
".custom-scrollbar",
"root",
".priority-low",
"webkit-scrollbar-track",
".status-done",
"body",
".glass-card",
".priority-high",
".priority-medium",
".dark",
".subtle-border"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"getTimelineDates",
"navigatePrevious",
"navigateNext"
],
"keys": null,
"path": "src/components/projects/ProjectTimeline.tsx",
"selectors": null
},
{
"functions": [
"onSubmit"
],
"keys": null,
"path": "src/components/projects/CreateProjectDialog.tsx",
"selectors": null
},
{
"functions": [
"handleDragEnd"
],
"keys": null,
"path": "src/components/projects/KanbanBoard.tsx",
"selectors": null
},
{
"functions": [
"onSubmit",
"handleAddCategory",
"handleRemoveCategory"
],
"keys": null,
"path": "src/components/projects/EditProjectDialog.tsx",
"selectors": null
},
{
"functions": [
"Dashboard",
"switch"
],
"keys": null,
"path": "src/components/dashboard/Dashboard.tsx",
"selectors": null
},
{
"functions": [
"MultiSelect"
],
"keys": null,
"path": "src/components/ui/multi-select.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": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"onSubmit"
],
"keys": null,
"path": "src/components/tasks/CreateTaskDialog.tsx",
"selectors": null
},
{
"functions": [
"Navbar"
],
"keys": null,
"path": "src/components/layout/Navbar.tsx",
"selectors": null
},
{
"functions": [
"Sidebar",
"toggleSidebar"
],
"keys": null,
"path": "src/components/layout/Sidebar.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"getSession",
"signIn",
"signInWithGitHub",
"signInWithPasscode",
"signUp",
"signOut",
"resetPassword",
"useAuth"
],
"keys": null,
"path": "src/lib/auth-context.tsx",
"selectors": null
},
{
"functions": [
"transformUser",
"useUsers",
"updateUser",
"useGetUsers",
"useGetUser",
"useUpdateUser"
],
"keys": null,
"path": "src/hooks/use-users.ts",
"selectors": null
},
{
"functions": [
"transformProject",
"useProjects"
],
"keys": null,
"path": "src/hooks/use-projects.ts",
"selectors": null
},
{
"functions": [
"useDashboard",
"useGetDashboard"
],
"keys": null,
"path": "src/hooks/use-dashboard.ts",
"selectors": null
},
{
"functions": [
"transformTask",
"useTasks",
"fetchProjectId"
],
"keys": null,
"path": "src/hooks/use-tasks.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Register",
"onSubmit"
],
"keys": null,
"path": "src/pages/Register.tsx",
"selectors": null
},
{
"functions": [
"FC",
"onSubmit",
"handleGitHubSignIn",
"handlePasscodeSubmit"
],
"keys": null,
"path": "src/pages/Login.tsx",
"selectors": null
},
{
"functions": [
"FC"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"Projects"
],
"keys": null,
"path": "src/pages/Projects.tsx",
"selectors": null
},
{
"functions": [
"ProjectDetails",
"handleDeleteProject"
],
"keys": null,
"path": "src/pages/ProjectDetails.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 8 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nFix Typescript errors in auth-context\n\nFixes Typescript errors related to supabase table types in the auth-context.tsx file.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".status-todo\",\n \"webkit-scrollbar\",\n \".text-balance\",\n \".status-in-progress\",\n \"html\",\n \"components\",\n \".content-area\",\n \".status-pill\",\n \".hover-scale\",\n \"webkit-scrollbar-thumb\",\n \".main-layout\",\n \".status-review\",\n \"base\",\n \"utilities\",\n \".custom-scrollbar\",\n \"root\",\n \".priority-low\",\n \"webkit-scrollbar-track\",\n \".status-done\",\n \"body\",\n \".glass-card\",\n \".priority-high\",\n \".priority-medium\",\n \".dark\",\n \".subtle-border\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getTimelineDates\",\n \"navigatePrevious\",\n \"navigateNext\"\n ],\n \"keys\": null,\n \"path\": \"src/components/projects/ProjectTimeline.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/projects/CreateProjectDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleDragEnd\"\n ],\n \"keys\": null,\n \"path\": \"src/components/projects/KanbanBoard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\",\n \"handleAddCategory\",\n \"handleRemoveCategory\"\n ],\n \"keys\": null,\n \"path\": \"src/components/projects/EditProjectDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Dashboard\",\n \"switch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/dashboard/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MultiSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/multi-select.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 \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/tasks/CreateTaskDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Navbar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/layout/Navbar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"toggleSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/layout/Sidebar.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 \"getSession\",\n \"signIn\",\n \"signInWithGitHub\",\n \"signInWithPasscode\",\n \"signUp\",\n \"signOut\",\n \"resetPassword\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/auth-context.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"transformUser\",\n \"useUsers\",\n \"updateUser\",\n \"useGetUsers\",\n \"useGetUser\",\n \"useUpdateUser\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-users.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"transformProject\",\n \"useProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-projects.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useDashboard\",\n \"useGetDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-dashboard.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"transformTask\",\n \"useTasks\",\n \"fetchProjectId\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-tasks.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Register\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Register.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FC\",\n \"onSubmit\",\n \"handleGitHubSignIn\",\n \"handlePasscodeSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Login.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FC\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Projects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Projects.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectDetails\",\n \"handleDeleteProject\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/ProjectDetails.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/lib/auth-context.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
Jimmeey2323/planatrix-collab
|
Fix tab and button functionality
The tabs and new project button were not working. This commit fixes these issues and restructures the tabs.
|
{
"changed": [
"src/components/dashboard/Dashboard.tsx",
"src/components/layout/Sidebar.tsx",
"src/integrations/supabase/types.ts",
"src/pages/Index.tsx"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".status-todo",
"webkit-scrollbar",
".text-balance",
".status-in-progress",
"html",
"components",
".content-area",
".status-pill",
".hover-scale",
"webkit-scrollbar-thumb",
".main-layout",
".status-review",
"base",
"utilities",
".custom-scrollbar",
"root",
".priority-low",
"webkit-scrollbar-track",
".status-done",
"body",
".glass-card",
".priority-high",
".priority-medium",
".dark",
".subtle-border"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"getTimelineDates",
"navigatePrevious",
"navigateNext"
],
"keys": null,
"path": "src/components/projects/ProjectTimeline.tsx",
"selectors": null
},
{
"functions": [
"onSubmit"
],
"keys": null,
"path": "src/components/projects/CreateProjectDialog.tsx",
"selectors": null
},
{
"functions": [
"handleDragEnd"
],
"keys": null,
"path": "src/components/projects/KanbanBoard.tsx",
"selectors": null
},
{
"functions": [
"onSubmit",
"handleAddCategory",
"handleRemoveCategory"
],
"keys": null,
"path": "src/components/projects/EditProjectDialog.tsx",
"selectors": null
},
{
"functions": [
"Dashboard",
"switch"
],
"keys": null,
"path": "src/components/dashboard/Dashboard.tsx",
"selectors": null
},
{
"functions": [
"MultiSelect"
],
"keys": null,
"path": "src/components/ui/multi-select.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": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"onSubmit"
],
"keys": null,
"path": "src/components/tasks/CreateTaskDialog.tsx",
"selectors": null
},
{
"functions": [
"Navbar"
],
"keys": null,
"path": "src/components/layout/Navbar.tsx",
"selectors": null
},
{
"functions": [
"Sidebar",
"toggleSidebar"
],
"keys": null,
"path": "src/components/layout/Sidebar.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"getSession",
"signIn",
"signInWithGitHub",
"signInWithPasscode",
"signUp",
"signOut",
"resetPassword",
"useAuth"
],
"keys": null,
"path": "src/lib/auth-context.tsx",
"selectors": null
},
{
"functions": [
"transformUser",
"useUsers",
"updateUser",
"useGetUsers",
"useGetUser",
"useUpdateUser"
],
"keys": null,
"path": "src/hooks/use-users.ts",
"selectors": null
},
{
"functions": [
"transformProject",
"useProjects"
],
"keys": null,
"path": "src/hooks/use-projects.ts",
"selectors": null
},
{
"functions": [
"useDashboard",
"useGetDashboard"
],
"keys": null,
"path": "src/hooks/use-dashboard.ts",
"selectors": null
},
{
"functions": [
"transformTask",
"useTasks",
"fetchProjectId"
],
"keys": null,
"path": "src/hooks/use-tasks.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Register",
"onSubmit"
],
"keys": null,
"path": "src/pages/Register.tsx",
"selectors": null
},
{
"functions": [
"FC",
"onSubmit",
"handleGitHubSignIn",
"handlePasscodeSubmit"
],
"keys": null,
"path": "src/pages/Login.tsx",
"selectors": null
},
{
"functions": [
"FC"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"Projects"
],
"keys": null,
"path": "src/pages/Projects.tsx",
"selectors": null
},
{
"functions": [
"ProjectDetails",
"handleDeleteProject"
],
"keys": null,
"path": "src/pages/ProjectDetails.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 9 |
[
{
"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 tab and button functionality\n\nThe tabs and new project button were not working. This commit fixes these issues and restructures the tabs.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".status-todo\",\n \"webkit-scrollbar\",\n \".text-balance\",\n \".status-in-progress\",\n \"html\",\n \"components\",\n \".content-area\",\n \".status-pill\",\n \".hover-scale\",\n \"webkit-scrollbar-thumb\",\n \".main-layout\",\n \".status-review\",\n \"base\",\n \"utilities\",\n \".custom-scrollbar\",\n \"root\",\n \".priority-low\",\n \"webkit-scrollbar-track\",\n \".status-done\",\n \"body\",\n \".glass-card\",\n \".priority-high\",\n \".priority-medium\",\n \".dark\",\n \".subtle-border\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getTimelineDates\",\n \"navigatePrevious\",\n \"navigateNext\"\n ],\n \"keys\": null,\n \"path\": \"src/components/projects/ProjectTimeline.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/projects/CreateProjectDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleDragEnd\"\n ],\n \"keys\": null,\n \"path\": \"src/components/projects/KanbanBoard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\",\n \"handleAddCategory\",\n \"handleRemoveCategory\"\n ],\n \"keys\": null,\n \"path\": \"src/components/projects/EditProjectDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Dashboard\",\n \"switch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/dashboard/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MultiSelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/multi-select.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 \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/tasks/CreateTaskDialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Navbar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/layout/Navbar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Sidebar\",\n \"toggleSidebar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/layout/Sidebar.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 \"getSession\",\n \"signIn\",\n \"signInWithGitHub\",\n \"signInWithPasscode\",\n \"signUp\",\n \"signOut\",\n \"resetPassword\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/auth-context.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"transformUser\",\n \"useUsers\",\n \"updateUser\",\n \"useGetUsers\",\n \"useGetUser\",\n \"useUpdateUser\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-users.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"transformProject\",\n \"useProjects\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-projects.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useDashboard\",\n \"useGetDashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-dashboard.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"transformTask\",\n \"useTasks\",\n \"fetchProjectId\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-tasks.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Register\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Register.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FC\",\n \"onSubmit\",\n \"handleGitHubSignIn\",\n \"handlePasscodeSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Login.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FC\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Projects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Projects.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectDetails\",\n \"handleDeleteProject\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/ProjectDetails.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/components/dashboard/Dashboard.tsx\",\n \"src/components/layout/Sidebar.tsx\",\n \"src/integrations/supabase/types.ts\",\n \"src/pages/Index.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
Nutaro-dev/prompt-magic-web
|
Use tech stack vite_react_shadcn_ts
[skip gpt_engineer]
|
{
"changed": [],
"created": [
".gitignore",
"README.md",
"bun.lockb",
"components.json",
"eslint.config.js",
"index.html",
"package-lock.json",
"package.json",
"postcss.config.js",
"public/favicon.ico",
"public/placeholder.svg",
"public/robots.txt",
"src/App.css",
"src/App.tsx",
"src/components/ui/accordion.tsx",
"src/components/ui/alert-dialog.tsx",
"src/components/ui/alert.tsx",
"src/components/ui/aspect-ratio.tsx",
"src/components/ui/avatar.tsx",
"src/components/ui/badge.tsx",
"src/components/ui/breadcrumb.tsx",
"src/components/ui/button.tsx",
"src/components/ui/calendar.tsx",
"src/components/ui/card.tsx",
"src/components/ui/carousel.tsx",
"src/components/ui/chart.tsx",
"src/components/ui/checkbox.tsx",
"src/components/ui/collapsible.tsx",
"src/components/ui/command.tsx",
"src/components/ui/context-menu.tsx",
"src/components/ui/dialog.tsx",
"src/components/ui/drawer.tsx",
"src/components/ui/dropdown-menu.tsx",
"src/components/ui/form.tsx",
"src/components/ui/hover-card.tsx",
"src/components/ui/input-otp.tsx",
"src/components/ui/input.tsx",
"src/components/ui/label.tsx",
"src/components/ui/menubar.tsx",
"src/components/ui/navigation-menu.tsx",
"src/components/ui/pagination.tsx",
"src/components/ui/popover.tsx",
"src/components/ui/progress.tsx",
"src/components/ui/radio-group.tsx",
"src/components/ui/resizable.tsx",
"src/components/ui/scroll-area.tsx",
"src/components/ui/select.tsx",
"src/components/ui/separator.tsx",
"src/components/ui/sheet.tsx",
"src/components/ui/sidebar.tsx",
"src/components/ui/skeleton.tsx",
"src/components/ui/slider.tsx",
"src/components/ui/sonner.tsx",
"src/components/ui/switch.tsx",
"src/components/ui/table.tsx",
"src/components/ui/tabs.tsx",
"src/components/ui/textarea.tsx",
"src/components/ui/toast.tsx",
"src/components/ui/toaster.tsx",
"src/components/ui/toggle-group.tsx",
"src/components/ui/toggle.tsx",
"src/components/ui/tooltip.tsx",
"src/components/ui/use-toast.ts",
"src/hooks/use-mobile.tsx",
"src/hooks/use-toast.ts",
"src/index.css",
"src/lib/utils.ts",
"src/main.tsx",
"src/pages/Index.tsx",
"src/pages/NotFound.tsx",
"src/vite-env.d.ts",
"tailwind.config.ts",
"tsconfig.app.json",
"tsconfig.json",
"tsconfig.node.json",
"vite.config.ts"
],
"deleted": []
}
|
[] | 0 |
[
{
"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:**\nUse tech stack vite_react_shadcn_ts\n[skip gpt_engineer]\n\n**File Tree Before:**\n[]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [],\n \"created\": [\n \".gitignore\",\n \"README.md\",\n \"bun.lockb\",\n \"components.json\",\n \"eslint.config.js\",\n \"index.html\",\n \"package-lock.json\",\n \"package.json\",\n \"postcss.config.js\",\n \"public/favicon.ico\",\n \"public/placeholder.svg\",\n \"public/robots.txt\",\n \"src/App.css\",\n \"src/App.tsx\",\n \"src/components/ui/accordion.tsx\",\n \"src/components/ui/alert-dialog.tsx\",\n \"src/components/ui/alert.tsx\",\n \"src/components/ui/aspect-ratio.tsx\",\n \"src/components/ui/avatar.tsx\",\n \"src/components/ui/badge.tsx\",\n \"src/components/ui/breadcrumb.tsx\",\n \"src/components/ui/button.tsx\",\n \"src/components/ui/calendar.tsx\",\n \"src/components/ui/card.tsx\",\n \"src/components/ui/carousel.tsx\",\n \"src/components/ui/chart.tsx\",\n \"src/components/ui/checkbox.tsx\",\n \"src/components/ui/collapsible.tsx\",\n \"src/components/ui/command.tsx\",\n \"src/components/ui/context-menu.tsx\",\n \"src/components/ui/dialog.tsx\",\n \"src/components/ui/drawer.tsx\",\n \"src/components/ui/dropdown-menu.tsx\",\n \"src/components/ui/form.tsx\",\n \"src/components/ui/hover-card.tsx\",\n \"src/components/ui/input-otp.tsx\",\n \"src/components/ui/input.tsx\",\n \"src/components/ui/label.tsx\",\n \"src/components/ui/menubar.tsx\",\n \"src/components/ui/navigation-menu.tsx\",\n \"src/components/ui/pagination.tsx\",\n \"src/components/ui/popover.tsx\",\n \"src/components/ui/progress.tsx\",\n \"src/components/ui/radio-group.tsx\",\n \"src/components/ui/resizable.tsx\",\n \"src/components/ui/scroll-area.tsx\",\n \"src/components/ui/select.tsx\",\n \"src/components/ui/separator.tsx\",\n \"src/components/ui/sheet.tsx\",\n \"src/components/ui/sidebar.tsx\",\n \"src/components/ui/skeleton.tsx\",\n \"src/components/ui/slider.tsx\",\n \"src/components/ui/sonner.tsx\",\n \"src/components/ui/switch.tsx\",\n \"src/components/ui/table.tsx\",\n \"src/components/ui/tabs.tsx\",\n \"src/components/ui/textarea.tsx\",\n \"src/components/ui/toast.tsx\",\n \"src/components/ui/toaster.tsx\",\n \"src/components/ui/toggle-group.tsx\",\n \"src/components/ui/toggle.tsx\",\n \"src/components/ui/tooltip.tsx\",\n \"src/components/ui/use-toast.ts\",\n \"src/hooks/use-mobile.tsx\",\n \"src/hooks/use-toast.ts\",\n \"src/index.css\",\n \"src/lib/utils.ts\",\n \"src/main.tsx\",\n \"src/pages/Index.tsx\",\n \"src/pages/NotFound.tsx\",\n \"src/vite-env.d.ts\",\n \"tailwind.config.ts\",\n \"tsconfig.app.json\",\n \"tsconfig.json\",\n \"tsconfig.node.json\",\n \"vite.config.ts\"\n ],\n \"deleted\": []\n}"
}
] |
Nutaro-dev/prompt-magic-web
|
Implement initial website structure
Sets up the basic website structure with pages for team, services, process, contact, legal notices, privacy policy, cookie banner, terms & conditions, and right of withdrawal. Includes dark/light mode toggle and navigation.
|
{
"changed": [
"package-lock.json",
"package.json",
"src/App.tsx",
"src/main.tsx",
"src/pages/Index.tsx",
"tailwind.config.ts"
],
"created": [
"src/components/CookieBanner.tsx",
"src/components/Footer.tsx",
"src/components/Layout.tsx",
"src/components/Navbar.tsx",
"src/components/ProjectCard.tsx",
"src/components/ServiceCard.tsx",
"src/components/ThemeToggle.tsx",
"src/pages/About.tsx",
"src/pages/Contact.tsx",
"src/pages/Impressum.tsx",
"src/pages/PrivacyPolicy.tsx",
"src/pages/Process.tsx",
"src/pages/Services.tsx",
"src/pages/Terms.tsx",
"src/pages/Withdrawal.tsx"
],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": [
"setInitialTheme"
],
"keys": null,
"path": "src/main.tsx",
"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": [
".dark",
"root",
"base",
"body"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.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": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 1 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nImplement initial website structure\n\nSets up the basic website structure with pages for team, services, process, contact, legal notices, privacy policy, cookie banner, terms & conditions, and right of withdrawal. Includes dark/light mode toggle and navigation.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"setInitialTheme\"\n ],\n \"keys\": null,\n \"path\": \"src/main.tsx\",\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 \".dark\",\n \"root\",\n \"base\",\n \"body\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.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 \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"package-lock.json\",\n \"package.json\",\n \"src/App.tsx\",\n \"src/main.tsx\",\n \"src/pages/Index.tsx\",\n \"tailwind.config.ts\"\n ],\n \"created\": [\n \"src/components/CookieBanner.tsx\",\n \"src/components/Footer.tsx\",\n \"src/components/Layout.tsx\",\n \"src/components/Navbar.tsx\",\n \"src/components/ProjectCard.tsx\",\n \"src/components/ServiceCard.tsx\",\n \"src/components/ThemeToggle.tsx\",\n \"src/pages/About.tsx\",\n \"src/pages/Contact.tsx\",\n \"src/pages/Impressum.tsx\",\n \"src/pages/PrivacyPolicy.tsx\",\n \"src/pages/Process.tsx\",\n \"src/pages/Services.tsx\",\n \"src/pages/Terms.tsx\",\n \"src/pages/Withdrawal.tsx\"\n ],\n \"deleted\": []\n}"
}
] |
Nutaro-dev/prompt-magic-web
|
Implement initial website structure
Create basic website with key pages and legal information.
|
{
"changed": [
"src/components/Footer.tsx",
"src/components/Navbar.tsx",
"src/pages/Impressum.tsx",
"src/pages/PrivacyPolicy.tsx"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": [
"setInitialTheme"
],
"keys": null,
"path": "src/main.tsx",
"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": [
".dark",
"root",
"base",
"body"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"ProjectCard"
],
"keys": null,
"path": "src/components/ProjectCard.tsx",
"selectors": null
},
{
"functions": [
"Layout"
],
"keys": null,
"path": "src/components/Layout.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"ServiceCard"
],
"keys": null,
"path": "src/components/ServiceCard.tsx",
"selectors": null
},
{
"functions": [
"CookieBanner",
"acceptCookies",
"declineCookies"
],
"keys": null,
"path": "src/components/CookieBanner.tsx",
"selectors": null
},
{
"functions": [
"Navbar",
"toggleMenu"
],
"keys": null,
"path": "src/components/Navbar.tsx",
"selectors": null
},
{
"functions": [
"ThemeToggle",
"toggleTheme"
],
"keys": null,
"path": "src/components/ThemeToggle.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": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Withdrawal"
],
"keys": null,
"path": "src/pages/Withdrawal.tsx",
"selectors": null
},
{
"functions": [
"Contact"
],
"keys": null,
"path": "src/pages/Contact.tsx",
"selectors": null
},
{
"functions": [
"Terms"
],
"keys": null,
"path": "src/pages/Terms.tsx",
"selectors": null
},
{
"functions": [
"About"
],
"keys": null,
"path": "src/pages/About.tsx",
"selectors": null
},
{
"functions": [
"PrivacyPolicy"
],
"keys": null,
"path": "src/pages/PrivacyPolicy.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
},
{
"functions": [
"Process"
],
"keys": null,
"path": "src/pages/Process.tsx",
"selectors": null
},
{
"functions": [
"Impressum"
],
"keys": null,
"path": "src/pages/Impressum.tsx",
"selectors": null
},
{
"functions": [
"Services"
],
"keys": null,
"path": "src/pages/Services.tsx",
"selectors": null
}
] | 2 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nImplement initial website structure\n\nCreate basic website with key pages and legal information.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"setInitialTheme\"\n ],\n \"keys\": null,\n \"path\": \"src/main.tsx\",\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 \".dark\",\n \"root\",\n \"base\",\n \"body\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProjectCard.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 \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CookieBanner\",\n \"acceptCookies\",\n \"declineCookies\"\n ],\n \"keys\": null,\n \"path\": \"src/components/CookieBanner.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Navbar\",\n \"toggleMenu\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Navbar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ThemeToggle\",\n \"toggleTheme\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ThemeToggle.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 \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Withdrawal\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Withdrawal.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Contact\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Contact.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Terms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Terms.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"About\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/About.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PrivacyPolicy\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/PrivacyPolicy.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Process\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Process.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Impressum\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Impressum.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Services.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/Footer.tsx\",\n \"src/components/Navbar.tsx\",\n \"src/pages/Impressum.tsx\",\n \"src/pages/PrivacyPolicy.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
Nutaro-dev/prompt-magic-web
|
Refactor website for Nutaro
Refactor the website to focus on development services, update content, and ensure legal compliance.
|
{
"changed": [
"src/pages/Impressum.tsx",
"src/pages/PrivacyPolicy.tsx",
"src/pages/Terms.tsx",
"src/pages/Withdrawal.tsx"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": [
"setInitialTheme"
],
"keys": null,
"path": "src/main.tsx",
"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": [
".dark",
"root",
"base",
"body"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"ProjectCard"
],
"keys": null,
"path": "src/components/ProjectCard.tsx",
"selectors": null
},
{
"functions": [
"Layout"
],
"keys": null,
"path": "src/components/Layout.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"ServiceCard"
],
"keys": null,
"path": "src/components/ServiceCard.tsx",
"selectors": null
},
{
"functions": [
"CookieBanner",
"acceptCookies",
"declineCookies"
],
"keys": null,
"path": "src/components/CookieBanner.tsx",
"selectors": null
},
{
"functions": [
"Navbar",
"toggleMenu"
],
"keys": null,
"path": "src/components/Navbar.tsx",
"selectors": null
},
{
"functions": [
"ThemeToggle",
"toggleTheme"
],
"keys": null,
"path": "src/components/ThemeToggle.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": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Withdrawal"
],
"keys": null,
"path": "src/pages/Withdrawal.tsx",
"selectors": null
},
{
"functions": [
"Contact"
],
"keys": null,
"path": "src/pages/Contact.tsx",
"selectors": null
},
{
"functions": [
"Terms"
],
"keys": null,
"path": "src/pages/Terms.tsx",
"selectors": null
},
{
"functions": [
"About"
],
"keys": null,
"path": "src/pages/About.tsx",
"selectors": null
},
{
"functions": [
"PrivacyPolicy"
],
"keys": null,
"path": "src/pages/PrivacyPolicy.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
},
{
"functions": [
"Process"
],
"keys": null,
"path": "src/pages/Process.tsx",
"selectors": null
},
{
"functions": [
"Impressum"
],
"keys": null,
"path": "src/pages/Impressum.tsx",
"selectors": null
},
{
"functions": [
"Services"
],
"keys": null,
"path": "src/pages/Services.tsx",
"selectors": null
}
] | 3 |
[
{
"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 website for Nutaro\n\nRefactor the website to focus on development services, update content, and ensure legal compliance.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"setInitialTheme\"\n ],\n \"keys\": null,\n \"path\": \"src/main.tsx\",\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 \".dark\",\n \"root\",\n \"base\",\n \"body\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProjectCard.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 \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CookieBanner\",\n \"acceptCookies\",\n \"declineCookies\"\n ],\n \"keys\": null,\n \"path\": \"src/components/CookieBanner.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Navbar\",\n \"toggleMenu\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Navbar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ThemeToggle\",\n \"toggleTheme\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ThemeToggle.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 \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Withdrawal\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Withdrawal.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Contact\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Contact.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Terms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Terms.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"About\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/About.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PrivacyPolicy\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/PrivacyPolicy.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Process\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Process.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Impressum\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Impressum.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Services.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/pages/Impressum.tsx\",\n \"src/pages/PrivacyPolicy.tsx\",\n \"src/pages/Terms.tsx\",\n \"src/pages/Withdrawal.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
Nutaro-dev/prompt-magic-web
|
Fix contact page and add projects tab
- Fixed incorrect address and email on the contact page.
- Added a tab for projects.
|
{
"changed": [
"package-lock.json",
"package.json",
"src/App.tsx",
"src/components/Navbar.tsx",
"src/pages/Contact.tsx"
],
"created": [
"src/pages/Projects.tsx"
],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": [
"setInitialTheme"
],
"keys": null,
"path": "src/main.tsx",
"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": [
".dark",
"root",
"base",
"body"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"ProjectCard"
],
"keys": null,
"path": "src/components/ProjectCard.tsx",
"selectors": null
},
{
"functions": [
"Layout"
],
"keys": null,
"path": "src/components/Layout.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"ServiceCard"
],
"keys": null,
"path": "src/components/ServiceCard.tsx",
"selectors": null
},
{
"functions": [
"CookieBanner",
"acceptCookies",
"declineCookies"
],
"keys": null,
"path": "src/components/CookieBanner.tsx",
"selectors": null
},
{
"functions": [
"Navbar",
"toggleMenu"
],
"keys": null,
"path": "src/components/Navbar.tsx",
"selectors": null
},
{
"functions": [
"ThemeToggle",
"toggleTheme"
],
"keys": null,
"path": "src/components/ThemeToggle.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": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Withdrawal"
],
"keys": null,
"path": "src/pages/Withdrawal.tsx",
"selectors": null
},
{
"functions": [
"Contact"
],
"keys": null,
"path": "src/pages/Contact.tsx",
"selectors": null
},
{
"functions": [
"Terms"
],
"keys": null,
"path": "src/pages/Terms.tsx",
"selectors": null
},
{
"functions": [
"About"
],
"keys": null,
"path": "src/pages/About.tsx",
"selectors": null
},
{
"functions": [
"PrivacyPolicy"
],
"keys": null,
"path": "src/pages/PrivacyPolicy.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
},
{
"functions": [
"Process"
],
"keys": null,
"path": "src/pages/Process.tsx",
"selectors": null
},
{
"functions": [
"Impressum"
],
"keys": null,
"path": "src/pages/Impressum.tsx",
"selectors": null
},
{
"functions": [
"Services"
],
"keys": null,
"path": "src/pages/Services.tsx",
"selectors": null
}
] | 4 |
[
{
"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 contact page and add projects tab\n\n- Fixed incorrect address and email on the contact page.\n- Added a tab for projects.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"setInitialTheme\"\n ],\n \"keys\": null,\n \"path\": \"src/main.tsx\",\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 \".dark\",\n \"root\",\n \"base\",\n \"body\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProjectCard.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 \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CookieBanner\",\n \"acceptCookies\",\n \"declineCookies\"\n ],\n \"keys\": null,\n \"path\": \"src/components/CookieBanner.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Navbar\",\n \"toggleMenu\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Navbar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ThemeToggle\",\n \"toggleTheme\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ThemeToggle.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 \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Withdrawal\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Withdrawal.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Contact\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Contact.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Terms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Terms.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"About\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/About.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PrivacyPolicy\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/PrivacyPolicy.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Process\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Process.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Impressum\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Impressum.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Services.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"package-lock.json\",\n \"package.json\",\n \"src/App.tsx\",\n \"src/components/Navbar.tsx\",\n \"src/pages/Contact.tsx\"\n ],\n \"created\": [\n \"src/pages/Projects.tsx\"\n ],\n \"deleted\": []\n}"
}
] |
Nutaro-dev/prompt-magic-web
|
Fix Link undefined error
The Link component was not imported in the Projects.tsx file, causing a ReferenceError. This commit imports the Link component from react-router-dom to resolve the error.
|
{
"changed": [
"src/pages/Projects.tsx"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": [
"setInitialTheme"
],
"keys": null,
"path": "src/main.tsx",
"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": [
".dark",
"root",
"base",
"body"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"ProjectCard"
],
"keys": null,
"path": "src/components/ProjectCard.tsx",
"selectors": null
},
{
"functions": [
"Layout"
],
"keys": null,
"path": "src/components/Layout.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"ServiceCard"
],
"keys": null,
"path": "src/components/ServiceCard.tsx",
"selectors": null
},
{
"functions": [
"CookieBanner",
"acceptCookies",
"declineCookies"
],
"keys": null,
"path": "src/components/CookieBanner.tsx",
"selectors": null
},
{
"functions": [
"Navbar",
"toggleMenu"
],
"keys": null,
"path": "src/components/Navbar.tsx",
"selectors": null
},
{
"functions": [
"ThemeToggle",
"toggleTheme"
],
"keys": null,
"path": "src/components/ThemeToggle.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": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Withdrawal"
],
"keys": null,
"path": "src/pages/Withdrawal.tsx",
"selectors": null
},
{
"functions": [
"Contact"
],
"keys": null,
"path": "src/pages/Contact.tsx",
"selectors": null
},
{
"functions": [
"Terms"
],
"keys": null,
"path": "src/pages/Terms.tsx",
"selectors": null
},
{
"functions": [
"About"
],
"keys": null,
"path": "src/pages/About.tsx",
"selectors": null
},
{
"functions": [
"PrivacyPolicy"
],
"keys": null,
"path": "src/pages/PrivacyPolicy.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"Projects"
],
"keys": null,
"path": "src/pages/Projects.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
},
{
"functions": [
"Process"
],
"keys": null,
"path": "src/pages/Process.tsx",
"selectors": null
},
{
"functions": [
"Impressum"
],
"keys": null,
"path": "src/pages/Impressum.tsx",
"selectors": null
},
{
"functions": [
"Services"
],
"keys": null,
"path": "src/pages/Services.tsx",
"selectors": null
}
] | 5 |
[
{
"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 Link undefined error\n\nThe Link component was not imported in the Projects.tsx file, causing a ReferenceError. This commit imports the Link component from react-router-dom to resolve the error.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"setInitialTheme\"\n ],\n \"keys\": null,\n \"path\": \"src/main.tsx\",\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 \".dark\",\n \"root\",\n \"base\",\n \"body\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProjectCard.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 \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CookieBanner\",\n \"acceptCookies\",\n \"declineCookies\"\n ],\n \"keys\": null,\n \"path\": \"src/components/CookieBanner.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Navbar\",\n \"toggleMenu\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Navbar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ThemeToggle\",\n \"toggleTheme\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ThemeToggle.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 \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Withdrawal\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Withdrawal.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Contact\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Contact.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Terms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Terms.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"About\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/About.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PrivacyPolicy\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/PrivacyPolicy.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 \"Projects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Projects.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Process\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Process.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Impressum\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Impressum.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Services.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/pages/Projects.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
Nutaro-dev/prompt-magic-web
|
Remove design and SEO tools
Removed design and SEO tools from the process page.
|
{
"changed": [
"src/pages/Index.tsx",
"src/pages/Process.tsx",
"src/pages/Projects.tsx"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": [
"setInitialTheme"
],
"keys": null,
"path": "src/main.tsx",
"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": [
".dark",
"root",
"base",
"body"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"ProjectCard"
],
"keys": null,
"path": "src/components/ProjectCard.tsx",
"selectors": null
},
{
"functions": [
"Layout"
],
"keys": null,
"path": "src/components/Layout.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"ServiceCard"
],
"keys": null,
"path": "src/components/ServiceCard.tsx",
"selectors": null
},
{
"functions": [
"CookieBanner",
"acceptCookies",
"declineCookies"
],
"keys": null,
"path": "src/components/CookieBanner.tsx",
"selectors": null
},
{
"functions": [
"Navbar",
"toggleMenu"
],
"keys": null,
"path": "src/components/Navbar.tsx",
"selectors": null
},
{
"functions": [
"ThemeToggle",
"toggleTheme"
],
"keys": null,
"path": "src/components/ThemeToggle.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": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Withdrawal"
],
"keys": null,
"path": "src/pages/Withdrawal.tsx",
"selectors": null
},
{
"functions": [
"Contact"
],
"keys": null,
"path": "src/pages/Contact.tsx",
"selectors": null
},
{
"functions": [
"Terms"
],
"keys": null,
"path": "src/pages/Terms.tsx",
"selectors": null
},
{
"functions": [
"About"
],
"keys": null,
"path": "src/pages/About.tsx",
"selectors": null
},
{
"functions": [
"PrivacyPolicy"
],
"keys": null,
"path": "src/pages/PrivacyPolicy.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"Projects"
],
"keys": null,
"path": "src/pages/Projects.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
},
{
"functions": [
"Process"
],
"keys": null,
"path": "src/pages/Process.tsx",
"selectors": null
},
{
"functions": [
"Impressum"
],
"keys": null,
"path": "src/pages/Impressum.tsx",
"selectors": null
},
{
"functions": [
"Services"
],
"keys": null,
"path": "src/pages/Services.tsx",
"selectors": null
}
] | 6 |
[
{
"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 design and SEO tools\n\nRemoved design and SEO tools from the process page.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"setInitialTheme\"\n ],\n \"keys\": null,\n \"path\": \"src/main.tsx\",\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 \".dark\",\n \"root\",\n \"base\",\n \"body\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProjectCard.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 \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CookieBanner\",\n \"acceptCookies\",\n \"declineCookies\"\n ],\n \"keys\": null,\n \"path\": \"src/components/CookieBanner.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Navbar\",\n \"toggleMenu\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Navbar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ThemeToggle\",\n \"toggleTheme\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ThemeToggle.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 \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Withdrawal\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Withdrawal.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Contact\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Contact.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Terms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Terms.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"About\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/About.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PrivacyPolicy\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/PrivacyPolicy.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 \"Projects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Projects.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Process\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Process.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Impressum\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Impressum.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Services.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/pages/Index.tsx\",\n \"src/pages/Process.tsx\",\n \"src/pages/Projects.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
Nutaro-dev/prompt-magic-web
|
Update Process.tsx
removing AWS
|
{
"changed": [
"src/pages/Process.tsx"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": [
"setInitialTheme"
],
"keys": null,
"path": "src/main.tsx",
"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": [
".dark",
"root",
"base",
"body"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"ProjectCard"
],
"keys": null,
"path": "src/components/ProjectCard.tsx",
"selectors": null
},
{
"functions": [
"Layout"
],
"keys": null,
"path": "src/components/Layout.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"ServiceCard"
],
"keys": null,
"path": "src/components/ServiceCard.tsx",
"selectors": null
},
{
"functions": [
"CookieBanner",
"acceptCookies",
"declineCookies"
],
"keys": null,
"path": "src/components/CookieBanner.tsx",
"selectors": null
},
{
"functions": [
"Navbar",
"toggleMenu"
],
"keys": null,
"path": "src/components/Navbar.tsx",
"selectors": null
},
{
"functions": [
"ThemeToggle",
"toggleTheme"
],
"keys": null,
"path": "src/components/ThemeToggle.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": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Withdrawal"
],
"keys": null,
"path": "src/pages/Withdrawal.tsx",
"selectors": null
},
{
"functions": [
"Contact"
],
"keys": null,
"path": "src/pages/Contact.tsx",
"selectors": null
},
{
"functions": [
"Terms"
],
"keys": null,
"path": "src/pages/Terms.tsx",
"selectors": null
},
{
"functions": [
"About"
],
"keys": null,
"path": "src/pages/About.tsx",
"selectors": null
},
{
"functions": [
"PrivacyPolicy"
],
"keys": null,
"path": "src/pages/PrivacyPolicy.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"Projects"
],
"keys": null,
"path": "src/pages/Projects.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
},
{
"functions": [
"Process"
],
"keys": null,
"path": "src/pages/Process.tsx",
"selectors": null
},
{
"functions": [
"Impressum"
],
"keys": null,
"path": "src/pages/Impressum.tsx",
"selectors": null
},
{
"functions": [
"Services"
],
"keys": null,
"path": "src/pages/Services.tsx",
"selectors": null
}
] | 7 |
[
{
"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 Process.tsx\n\nremoving AWS\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"setInitialTheme\"\n ],\n \"keys\": null,\n \"path\": \"src/main.tsx\",\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 \".dark\",\n \"root\",\n \"base\",\n \"body\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProjectCard.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 \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CookieBanner\",\n \"acceptCookies\",\n \"declineCookies\"\n ],\n \"keys\": null,\n \"path\": \"src/components/CookieBanner.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Navbar\",\n \"toggleMenu\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Navbar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ThemeToggle\",\n \"toggleTheme\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ThemeToggle.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 \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Withdrawal\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Withdrawal.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Contact\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Contact.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Terms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Terms.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"About\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/About.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PrivacyPolicy\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/PrivacyPolicy.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 \"Projects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Projects.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Process\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Process.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Impressum\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Impressum.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Services.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/pages/Process.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
Nutaro-dev/prompt-magic-web
|
Update Contact.tsx
Changed Contact Maps from Impressum Location to City Location
|
{
"changed": [
"src/pages/Contact.tsx"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": [
"setInitialTheme"
],
"keys": null,
"path": "src/main.tsx",
"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": [
".dark",
"root",
"base",
"body"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"ProjectCard"
],
"keys": null,
"path": "src/components/ProjectCard.tsx",
"selectors": null
},
{
"functions": [
"Layout"
],
"keys": null,
"path": "src/components/Layout.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"ServiceCard"
],
"keys": null,
"path": "src/components/ServiceCard.tsx",
"selectors": null
},
{
"functions": [
"CookieBanner",
"acceptCookies",
"declineCookies"
],
"keys": null,
"path": "src/components/CookieBanner.tsx",
"selectors": null
},
{
"functions": [
"Navbar",
"toggleMenu"
],
"keys": null,
"path": "src/components/Navbar.tsx",
"selectors": null
},
{
"functions": [
"ThemeToggle",
"toggleTheme"
],
"keys": null,
"path": "src/components/ThemeToggle.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": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Withdrawal"
],
"keys": null,
"path": "src/pages/Withdrawal.tsx",
"selectors": null
},
{
"functions": [
"Contact"
],
"keys": null,
"path": "src/pages/Contact.tsx",
"selectors": null
},
{
"functions": [
"Terms"
],
"keys": null,
"path": "src/pages/Terms.tsx",
"selectors": null
},
{
"functions": [
"About"
],
"keys": null,
"path": "src/pages/About.tsx",
"selectors": null
},
{
"functions": [
"PrivacyPolicy"
],
"keys": null,
"path": "src/pages/PrivacyPolicy.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"Projects"
],
"keys": null,
"path": "src/pages/Projects.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
},
{
"functions": [
"Process"
],
"keys": null,
"path": "src/pages/Process.tsx",
"selectors": null
},
{
"functions": [
"Impressum"
],
"keys": null,
"path": "src/pages/Impressum.tsx",
"selectors": null
},
{
"functions": [
"Services"
],
"keys": null,
"path": "src/pages/Services.tsx",
"selectors": null
}
] | 8 |
[
{
"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 Contact.tsx\n\nChanged Contact Maps from Impressum Location to City Location\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"setInitialTheme\"\n ],\n \"keys\": null,\n \"path\": \"src/main.tsx\",\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 \".dark\",\n \"root\",\n \"base\",\n \"body\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProjectCard.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 \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CookieBanner\",\n \"acceptCookies\",\n \"declineCookies\"\n ],\n \"keys\": null,\n \"path\": \"src/components/CookieBanner.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Navbar\",\n \"toggleMenu\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Navbar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ThemeToggle\",\n \"toggleTheme\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ThemeToggle.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 \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Withdrawal\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Withdrawal.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Contact\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Contact.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Terms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Terms.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"About\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/About.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PrivacyPolicy\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/PrivacyPolicy.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 \"Projects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Projects.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Process\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Process.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Impressum\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Impressum.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Services.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/pages/Contact.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
Nutaro-dev/prompt-magic-web
|
Create Dockerfile
|
{
"changed": [],
"created": [
"Dockerfile"
],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": [
"setInitialTheme"
],
"keys": null,
"path": "src/main.tsx",
"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": [
".dark",
"root",
"base",
"body"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"ProjectCard"
],
"keys": null,
"path": "src/components/ProjectCard.tsx",
"selectors": null
},
{
"functions": [
"Layout"
],
"keys": null,
"path": "src/components/Layout.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"ServiceCard"
],
"keys": null,
"path": "src/components/ServiceCard.tsx",
"selectors": null
},
{
"functions": [
"CookieBanner",
"acceptCookies",
"declineCookies"
],
"keys": null,
"path": "src/components/CookieBanner.tsx",
"selectors": null
},
{
"functions": [
"Navbar",
"toggleMenu"
],
"keys": null,
"path": "src/components/Navbar.tsx",
"selectors": null
},
{
"functions": [
"ThemeToggle",
"toggleTheme"
],
"keys": null,
"path": "src/components/ThemeToggle.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": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Withdrawal"
],
"keys": null,
"path": "src/pages/Withdrawal.tsx",
"selectors": null
},
{
"functions": [
"Contact"
],
"keys": null,
"path": "src/pages/Contact.tsx",
"selectors": null
},
{
"functions": [
"Terms"
],
"keys": null,
"path": "src/pages/Terms.tsx",
"selectors": null
},
{
"functions": [
"About"
],
"keys": null,
"path": "src/pages/About.tsx",
"selectors": null
},
{
"functions": [
"PrivacyPolicy"
],
"keys": null,
"path": "src/pages/PrivacyPolicy.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"Projects"
],
"keys": null,
"path": "src/pages/Projects.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
},
{
"functions": [
"Process"
],
"keys": null,
"path": "src/pages/Process.tsx",
"selectors": null
},
{
"functions": [
"Impressum"
],
"keys": null,
"path": "src/pages/Impressum.tsx",
"selectors": null
},
{
"functions": [
"Services"
],
"keys": null,
"path": "src/pages/Services.tsx",
"selectors": null
}
] | 9 |
[
{
"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 Dockerfile\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"setInitialTheme\"\n ],\n \"keys\": null,\n \"path\": \"src/main.tsx\",\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 \".dark\",\n \"root\",\n \"base\",\n \"body\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProjectCard.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 \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CookieBanner\",\n \"acceptCookies\",\n \"declineCookies\"\n ],\n \"keys\": null,\n \"path\": \"src/components/CookieBanner.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Navbar\",\n \"toggleMenu\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Navbar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ThemeToggle\",\n \"toggleTheme\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ThemeToggle.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 \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Withdrawal\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Withdrawal.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Contact\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Contact.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Terms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Terms.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"About\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/About.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PrivacyPolicy\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/PrivacyPolicy.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 \"Projects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Projects.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Process\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Process.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Impressum\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Impressum.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Services.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 \"Dockerfile\"\n ],\n \"deleted\": []\n}"
}
] |
Nutaro-dev/prompt-magic-web
|
Create docker-compose.yml
|
{
"changed": [],
"created": [
"docker-compose.yml"
],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": [
"setInitialTheme"
],
"keys": null,
"path": "src/main.tsx",
"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": [
".dark",
"root",
"base",
"body"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"ProjectCard"
],
"keys": null,
"path": "src/components/ProjectCard.tsx",
"selectors": null
},
{
"functions": [
"Layout"
],
"keys": null,
"path": "src/components/Layout.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"ServiceCard"
],
"keys": null,
"path": "src/components/ServiceCard.tsx",
"selectors": null
},
{
"functions": [
"CookieBanner",
"acceptCookies",
"declineCookies"
],
"keys": null,
"path": "src/components/CookieBanner.tsx",
"selectors": null
},
{
"functions": [
"Navbar",
"toggleMenu"
],
"keys": null,
"path": "src/components/Navbar.tsx",
"selectors": null
},
{
"functions": [
"ThemeToggle",
"toggleTheme"
],
"keys": null,
"path": "src/components/ThemeToggle.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": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Withdrawal"
],
"keys": null,
"path": "src/pages/Withdrawal.tsx",
"selectors": null
},
{
"functions": [
"Contact"
],
"keys": null,
"path": "src/pages/Contact.tsx",
"selectors": null
},
{
"functions": [
"Terms"
],
"keys": null,
"path": "src/pages/Terms.tsx",
"selectors": null
},
{
"functions": [
"About"
],
"keys": null,
"path": "src/pages/About.tsx",
"selectors": null
},
{
"functions": [
"PrivacyPolicy"
],
"keys": null,
"path": "src/pages/PrivacyPolicy.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"Projects"
],
"keys": null,
"path": "src/pages/Projects.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
},
{
"functions": [
"Process"
],
"keys": null,
"path": "src/pages/Process.tsx",
"selectors": null
},
{
"functions": [
"Impressum"
],
"keys": null,
"path": "src/pages/Impressum.tsx",
"selectors": null
},
{
"functions": [
"Services"
],
"keys": null,
"path": "src/pages/Services.tsx",
"selectors": null
}
] | 10 |
[
{
"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 docker-compose.yml\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"setInitialTheme\"\n ],\n \"keys\": null,\n \"path\": \"src/main.tsx\",\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 \".dark\",\n \"root\",\n \"base\",\n \"body\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProjectCard.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 \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CookieBanner\",\n \"acceptCookies\",\n \"declineCookies\"\n ],\n \"keys\": null,\n \"path\": \"src/components/CookieBanner.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Navbar\",\n \"toggleMenu\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Navbar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ThemeToggle\",\n \"toggleTheme\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ThemeToggle.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 \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Withdrawal\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Withdrawal.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Contact\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Contact.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Terms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Terms.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"About\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/About.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PrivacyPolicy\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/PrivacyPolicy.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 \"Projects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Projects.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Process\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Process.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Impressum\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Impressum.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Services.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 \"docker-compose.yml\"\n ],\n \"deleted\": []\n}"
}
] |
Nutaro-dev/prompt-magic-web
|
Update Dockerfile
|
{
"changed": [
"Dockerfile"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": [
"setInitialTheme"
],
"keys": null,
"path": "src/main.tsx",
"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": [
".dark",
"root",
"base",
"body"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"ProjectCard"
],
"keys": null,
"path": "src/components/ProjectCard.tsx",
"selectors": null
},
{
"functions": [
"Layout"
],
"keys": null,
"path": "src/components/Layout.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"ServiceCard"
],
"keys": null,
"path": "src/components/ServiceCard.tsx",
"selectors": null
},
{
"functions": [
"CookieBanner",
"acceptCookies",
"declineCookies"
],
"keys": null,
"path": "src/components/CookieBanner.tsx",
"selectors": null
},
{
"functions": [
"Navbar",
"toggleMenu"
],
"keys": null,
"path": "src/components/Navbar.tsx",
"selectors": null
},
{
"functions": [
"ThemeToggle",
"toggleTheme"
],
"keys": null,
"path": "src/components/ThemeToggle.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": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Withdrawal"
],
"keys": null,
"path": "src/pages/Withdrawal.tsx",
"selectors": null
},
{
"functions": [
"Contact"
],
"keys": null,
"path": "src/pages/Contact.tsx",
"selectors": null
},
{
"functions": [
"Terms"
],
"keys": null,
"path": "src/pages/Terms.tsx",
"selectors": null
},
{
"functions": [
"About"
],
"keys": null,
"path": "src/pages/About.tsx",
"selectors": null
},
{
"functions": [
"PrivacyPolicy"
],
"keys": null,
"path": "src/pages/PrivacyPolicy.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"Projects"
],
"keys": null,
"path": "src/pages/Projects.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
},
{
"functions": [
"Process"
],
"keys": null,
"path": "src/pages/Process.tsx",
"selectors": null
},
{
"functions": [
"Impressum"
],
"keys": null,
"path": "src/pages/Impressum.tsx",
"selectors": null
},
{
"functions": [
"Services"
],
"keys": null,
"path": "src/pages/Services.tsx",
"selectors": null
}
] | 11 |
[
{
"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 Dockerfile\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"setInitialTheme\"\n ],\n \"keys\": null,\n \"path\": \"src/main.tsx\",\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 \".dark\",\n \"root\",\n \"base\",\n \"body\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProjectCard.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 \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CookieBanner\",\n \"acceptCookies\",\n \"declineCookies\"\n ],\n \"keys\": null,\n \"path\": \"src/components/CookieBanner.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Navbar\",\n \"toggleMenu\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Navbar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ThemeToggle\",\n \"toggleTheme\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ThemeToggle.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 \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Withdrawal\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Withdrawal.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Contact\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Contact.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Terms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Terms.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"About\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/About.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PrivacyPolicy\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/PrivacyPolicy.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 \"Projects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Projects.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Process\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Process.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Impressum\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Impressum.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Services.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 \"Dockerfile\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
Nutaro-dev/prompt-magic-web
|
Update Dockerfile
|
{
"changed": [
"Dockerfile"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": [
"setInitialTheme"
],
"keys": null,
"path": "src/main.tsx",
"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": [
".dark",
"root",
"base",
"body"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"ProjectCard"
],
"keys": null,
"path": "src/components/ProjectCard.tsx",
"selectors": null
},
{
"functions": [
"Layout"
],
"keys": null,
"path": "src/components/Layout.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"ServiceCard"
],
"keys": null,
"path": "src/components/ServiceCard.tsx",
"selectors": null
},
{
"functions": [
"CookieBanner",
"acceptCookies",
"declineCookies"
],
"keys": null,
"path": "src/components/CookieBanner.tsx",
"selectors": null
},
{
"functions": [
"Navbar",
"toggleMenu"
],
"keys": null,
"path": "src/components/Navbar.tsx",
"selectors": null
},
{
"functions": [
"ThemeToggle",
"toggleTheme"
],
"keys": null,
"path": "src/components/ThemeToggle.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": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Withdrawal"
],
"keys": null,
"path": "src/pages/Withdrawal.tsx",
"selectors": null
},
{
"functions": [
"Contact"
],
"keys": null,
"path": "src/pages/Contact.tsx",
"selectors": null
},
{
"functions": [
"Terms"
],
"keys": null,
"path": "src/pages/Terms.tsx",
"selectors": null
},
{
"functions": [
"About"
],
"keys": null,
"path": "src/pages/About.tsx",
"selectors": null
},
{
"functions": [
"PrivacyPolicy"
],
"keys": null,
"path": "src/pages/PrivacyPolicy.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"Projects"
],
"keys": null,
"path": "src/pages/Projects.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
},
{
"functions": [
"Process"
],
"keys": null,
"path": "src/pages/Process.tsx",
"selectors": null
},
{
"functions": [
"Impressum"
],
"keys": null,
"path": "src/pages/Impressum.tsx",
"selectors": null
},
{
"functions": [
"Services"
],
"keys": null,
"path": "src/pages/Services.tsx",
"selectors": null
}
] | 12 |
[
{
"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 Dockerfile\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"setInitialTheme\"\n ],\n \"keys\": null,\n \"path\": \"src/main.tsx\",\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 \".dark\",\n \"root\",\n \"base\",\n \"body\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProjectCard.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 \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CookieBanner\",\n \"acceptCookies\",\n \"declineCookies\"\n ],\n \"keys\": null,\n \"path\": \"src/components/CookieBanner.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Navbar\",\n \"toggleMenu\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Navbar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ThemeToggle\",\n \"toggleTheme\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ThemeToggle.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 \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Withdrawal\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Withdrawal.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Contact\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Contact.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Terms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Terms.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"About\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/About.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PrivacyPolicy\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/PrivacyPolicy.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 \"Projects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Projects.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Process\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Process.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Impressum\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Impressum.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Services.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 \"Dockerfile\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
Nutaro-dev/prompt-magic-web
|
Update Contact.tsx
again google maps update
|
{
"changed": [
"src/pages/Contact.tsx"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": [
"setInitialTheme"
],
"keys": null,
"path": "src/main.tsx",
"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": [
".dark",
"root",
"base",
"body"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"ProjectCard"
],
"keys": null,
"path": "src/components/ProjectCard.tsx",
"selectors": null
},
{
"functions": [
"Layout"
],
"keys": null,
"path": "src/components/Layout.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"ServiceCard"
],
"keys": null,
"path": "src/components/ServiceCard.tsx",
"selectors": null
},
{
"functions": [
"CookieBanner",
"acceptCookies",
"declineCookies"
],
"keys": null,
"path": "src/components/CookieBanner.tsx",
"selectors": null
},
{
"functions": [
"Navbar",
"toggleMenu"
],
"keys": null,
"path": "src/components/Navbar.tsx",
"selectors": null
},
{
"functions": [
"ThemeToggle",
"toggleTheme"
],
"keys": null,
"path": "src/components/ThemeToggle.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": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Withdrawal"
],
"keys": null,
"path": "src/pages/Withdrawal.tsx",
"selectors": null
},
{
"functions": [
"Contact"
],
"keys": null,
"path": "src/pages/Contact.tsx",
"selectors": null
},
{
"functions": [
"Terms"
],
"keys": null,
"path": "src/pages/Terms.tsx",
"selectors": null
},
{
"functions": [
"About"
],
"keys": null,
"path": "src/pages/About.tsx",
"selectors": null
},
{
"functions": [
"PrivacyPolicy"
],
"keys": null,
"path": "src/pages/PrivacyPolicy.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"Projects"
],
"keys": null,
"path": "src/pages/Projects.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
},
{
"functions": [
"Process"
],
"keys": null,
"path": "src/pages/Process.tsx",
"selectors": null
},
{
"functions": [
"Impressum"
],
"keys": null,
"path": "src/pages/Impressum.tsx",
"selectors": null
},
{
"functions": [
"Services"
],
"keys": null,
"path": "src/pages/Services.tsx",
"selectors": null
}
] | 13 |
[
{
"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 Contact.tsx\n\nagain google maps update\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"setInitialTheme\"\n ],\n \"keys\": null,\n \"path\": \"src/main.tsx\",\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 \".dark\",\n \"root\",\n \"base\",\n \"body\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProjectCard.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 \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CookieBanner\",\n \"acceptCookies\",\n \"declineCookies\"\n ],\n \"keys\": null,\n \"path\": \"src/components/CookieBanner.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Navbar\",\n \"toggleMenu\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Navbar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ThemeToggle\",\n \"toggleTheme\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ThemeToggle.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 \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Withdrawal\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Withdrawal.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Contact\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Contact.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Terms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Terms.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"About\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/About.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PrivacyPolicy\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/PrivacyPolicy.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 \"Projects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Projects.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Process\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Process.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Impressum\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Impressum.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Services.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/pages/Contact.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
Nutaro-dev/prompt-magic-web
|
Update Contact.tsx
|
{
"changed": [
"src/pages/Contact.tsx"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": [
"setInitialTheme"
],
"keys": null,
"path": "src/main.tsx",
"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": [
".dark",
"root",
"base",
"body"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"ProjectCard"
],
"keys": null,
"path": "src/components/ProjectCard.tsx",
"selectors": null
},
{
"functions": [
"Layout"
],
"keys": null,
"path": "src/components/Layout.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"ServiceCard"
],
"keys": null,
"path": "src/components/ServiceCard.tsx",
"selectors": null
},
{
"functions": [
"CookieBanner",
"acceptCookies",
"declineCookies"
],
"keys": null,
"path": "src/components/CookieBanner.tsx",
"selectors": null
},
{
"functions": [
"Navbar",
"toggleMenu"
],
"keys": null,
"path": "src/components/Navbar.tsx",
"selectors": null
},
{
"functions": [
"ThemeToggle",
"toggleTheme"
],
"keys": null,
"path": "src/components/ThemeToggle.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": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Withdrawal"
],
"keys": null,
"path": "src/pages/Withdrawal.tsx",
"selectors": null
},
{
"functions": [
"Contact"
],
"keys": null,
"path": "src/pages/Contact.tsx",
"selectors": null
},
{
"functions": [
"Terms"
],
"keys": null,
"path": "src/pages/Terms.tsx",
"selectors": null
},
{
"functions": [
"About"
],
"keys": null,
"path": "src/pages/About.tsx",
"selectors": null
},
{
"functions": [
"PrivacyPolicy"
],
"keys": null,
"path": "src/pages/PrivacyPolicy.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"Projects"
],
"keys": null,
"path": "src/pages/Projects.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
},
{
"functions": [
"Process"
],
"keys": null,
"path": "src/pages/Process.tsx",
"selectors": null
},
{
"functions": [
"Impressum"
],
"keys": null,
"path": "src/pages/Impressum.tsx",
"selectors": null
},
{
"functions": [
"Services"
],
"keys": null,
"path": "src/pages/Services.tsx",
"selectors": null
}
] | 14 |
[
{
"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 Contact.tsx\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"setInitialTheme\"\n ],\n \"keys\": null,\n \"path\": \"src/main.tsx\",\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 \".dark\",\n \"root\",\n \"base\",\n \"body\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProjectCard.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 \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CookieBanner\",\n \"acceptCookies\",\n \"declineCookies\"\n ],\n \"keys\": null,\n \"path\": \"src/components/CookieBanner.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Navbar\",\n \"toggleMenu\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Navbar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ThemeToggle\",\n \"toggleTheme\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ThemeToggle.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 \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Withdrawal\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Withdrawal.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Contact\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Contact.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Terms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Terms.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"About\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/About.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PrivacyPolicy\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/PrivacyPolicy.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 \"Projects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Projects.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Process\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Process.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Impressum\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Impressum.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Services.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/pages/Contact.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
Nutaro-dev/prompt-magic-web
|
Update Dockerfile
|
{
"changed": [
"Dockerfile"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": [
"setInitialTheme"
],
"keys": null,
"path": "src/main.tsx",
"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": [
".dark",
"root",
"base",
"body"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"ProjectCard"
],
"keys": null,
"path": "src/components/ProjectCard.tsx",
"selectors": null
},
{
"functions": [
"Layout"
],
"keys": null,
"path": "src/components/Layout.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"ServiceCard"
],
"keys": null,
"path": "src/components/ServiceCard.tsx",
"selectors": null
},
{
"functions": [
"CookieBanner",
"acceptCookies",
"declineCookies"
],
"keys": null,
"path": "src/components/CookieBanner.tsx",
"selectors": null
},
{
"functions": [
"Navbar",
"toggleMenu"
],
"keys": null,
"path": "src/components/Navbar.tsx",
"selectors": null
},
{
"functions": [
"ThemeToggle",
"toggleTheme"
],
"keys": null,
"path": "src/components/ThemeToggle.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": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Withdrawal"
],
"keys": null,
"path": "src/pages/Withdrawal.tsx",
"selectors": null
},
{
"functions": [
"Contact"
],
"keys": null,
"path": "src/pages/Contact.tsx",
"selectors": null
},
{
"functions": [
"Terms"
],
"keys": null,
"path": "src/pages/Terms.tsx",
"selectors": null
},
{
"functions": [
"About"
],
"keys": null,
"path": "src/pages/About.tsx",
"selectors": null
},
{
"functions": [
"PrivacyPolicy"
],
"keys": null,
"path": "src/pages/PrivacyPolicy.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"Projects"
],
"keys": null,
"path": "src/pages/Projects.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
},
{
"functions": [
"Process"
],
"keys": null,
"path": "src/pages/Process.tsx",
"selectors": null
},
{
"functions": [
"Impressum"
],
"keys": null,
"path": "src/pages/Impressum.tsx",
"selectors": null
},
{
"functions": [
"Services"
],
"keys": null,
"path": "src/pages/Services.tsx",
"selectors": null
}
] | 15 |
[
{
"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 Dockerfile\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"setInitialTheme\"\n ],\n \"keys\": null,\n \"path\": \"src/main.tsx\",\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 \".dark\",\n \"root\",\n \"base\",\n \"body\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProjectCard.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 \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CookieBanner\",\n \"acceptCookies\",\n \"declineCookies\"\n ],\n \"keys\": null,\n \"path\": \"src/components/CookieBanner.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Navbar\",\n \"toggleMenu\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Navbar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ThemeToggle\",\n \"toggleTheme\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ThemeToggle.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 \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Withdrawal\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Withdrawal.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Contact\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Contact.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Terms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Terms.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"About\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/About.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PrivacyPolicy\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/PrivacyPolicy.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 \"Projects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Projects.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Process\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Process.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Impressum\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Impressum.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Services.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 \"Dockerfile\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
Nutaro-dev/prompt-magic-web
|
Update Contact.tsx
|
{
"changed": [
"src/pages/Contact.tsx"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": [
"setInitialTheme"
],
"keys": null,
"path": "src/main.tsx",
"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": [
".dark",
"root",
"base",
"body"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"ProjectCard"
],
"keys": null,
"path": "src/components/ProjectCard.tsx",
"selectors": null
},
{
"functions": [
"Layout"
],
"keys": null,
"path": "src/components/Layout.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"ServiceCard"
],
"keys": null,
"path": "src/components/ServiceCard.tsx",
"selectors": null
},
{
"functions": [
"CookieBanner",
"acceptCookies",
"declineCookies"
],
"keys": null,
"path": "src/components/CookieBanner.tsx",
"selectors": null
},
{
"functions": [
"Navbar",
"toggleMenu"
],
"keys": null,
"path": "src/components/Navbar.tsx",
"selectors": null
},
{
"functions": [
"ThemeToggle",
"toggleTheme"
],
"keys": null,
"path": "src/components/ThemeToggle.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": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Withdrawal"
],
"keys": null,
"path": "src/pages/Withdrawal.tsx",
"selectors": null
},
{
"functions": [
"Contact"
],
"keys": null,
"path": "src/pages/Contact.tsx",
"selectors": null
},
{
"functions": [
"Terms"
],
"keys": null,
"path": "src/pages/Terms.tsx",
"selectors": null
},
{
"functions": [
"About"
],
"keys": null,
"path": "src/pages/About.tsx",
"selectors": null
},
{
"functions": [
"PrivacyPolicy"
],
"keys": null,
"path": "src/pages/PrivacyPolicy.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"Projects"
],
"keys": null,
"path": "src/pages/Projects.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
},
{
"functions": [
"Process"
],
"keys": null,
"path": "src/pages/Process.tsx",
"selectors": null
},
{
"functions": [
"Impressum"
],
"keys": null,
"path": "src/pages/Impressum.tsx",
"selectors": null
},
{
"functions": [
"Services"
],
"keys": null,
"path": "src/pages/Services.tsx",
"selectors": null
}
] | 16 |
[
{
"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 Contact.tsx\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"setInitialTheme\"\n ],\n \"keys\": null,\n \"path\": \"src/main.tsx\",\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 \".dark\",\n \"root\",\n \"base\",\n \"body\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProjectCard.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 \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CookieBanner\",\n \"acceptCookies\",\n \"declineCookies\"\n ],\n \"keys\": null,\n \"path\": \"src/components/CookieBanner.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Navbar\",\n \"toggleMenu\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Navbar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ThemeToggle\",\n \"toggleTheme\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ThemeToggle.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 \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Withdrawal\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Withdrawal.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Contact\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Contact.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Terms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Terms.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"About\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/About.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PrivacyPolicy\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/PrivacyPolicy.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 \"Projects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Projects.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Process\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Process.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Impressum\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Impressum.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Services.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/pages/Contact.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
Nutaro-dev/prompt-magic-web
|
Update Dockerfile
|
{
"changed": [
"Dockerfile"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": [
"setInitialTheme"
],
"keys": null,
"path": "src/main.tsx",
"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": [
".dark",
"root",
"base",
"body"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"ProjectCard"
],
"keys": null,
"path": "src/components/ProjectCard.tsx",
"selectors": null
},
{
"functions": [
"Layout"
],
"keys": null,
"path": "src/components/Layout.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"ServiceCard"
],
"keys": null,
"path": "src/components/ServiceCard.tsx",
"selectors": null
},
{
"functions": [
"CookieBanner",
"acceptCookies",
"declineCookies"
],
"keys": null,
"path": "src/components/CookieBanner.tsx",
"selectors": null
},
{
"functions": [
"Navbar",
"toggleMenu"
],
"keys": null,
"path": "src/components/Navbar.tsx",
"selectors": null
},
{
"functions": [
"ThemeToggle",
"toggleTheme"
],
"keys": null,
"path": "src/components/ThemeToggle.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": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Withdrawal"
],
"keys": null,
"path": "src/pages/Withdrawal.tsx",
"selectors": null
},
{
"functions": [
"Contact"
],
"keys": null,
"path": "src/pages/Contact.tsx",
"selectors": null
},
{
"functions": [
"Terms"
],
"keys": null,
"path": "src/pages/Terms.tsx",
"selectors": null
},
{
"functions": [
"About"
],
"keys": null,
"path": "src/pages/About.tsx",
"selectors": null
},
{
"functions": [
"PrivacyPolicy"
],
"keys": null,
"path": "src/pages/PrivacyPolicy.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"Projects"
],
"keys": null,
"path": "src/pages/Projects.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
},
{
"functions": [
"Process"
],
"keys": null,
"path": "src/pages/Process.tsx",
"selectors": null
},
{
"functions": [
"Impressum"
],
"keys": null,
"path": "src/pages/Impressum.tsx",
"selectors": null
},
{
"functions": [
"Services"
],
"keys": null,
"path": "src/pages/Services.tsx",
"selectors": null
}
] | 17 |
[
{
"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 Dockerfile\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"setInitialTheme\"\n ],\n \"keys\": null,\n \"path\": \"src/main.tsx\",\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 \".dark\",\n \"root\",\n \"base\",\n \"body\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProjectCard.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 \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CookieBanner\",\n \"acceptCookies\",\n \"declineCookies\"\n ],\n \"keys\": null,\n \"path\": \"src/components/CookieBanner.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Navbar\",\n \"toggleMenu\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Navbar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ThemeToggle\",\n \"toggleTheme\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ThemeToggle.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 \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Withdrawal\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Withdrawal.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Contact\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Contact.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Terms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Terms.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"About\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/About.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PrivacyPolicy\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/PrivacyPolicy.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 \"Projects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Projects.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Process\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Process.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Impressum\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Impressum.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Services.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 \"Dockerfile\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
Nutaro-dev/prompt-magic-web
|
Update docker-compose.yml
|
{
"changed": [
"docker-compose.yml"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": [
"setInitialTheme"
],
"keys": null,
"path": "src/main.tsx",
"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": [
".dark",
"root",
"base",
"body"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"ProjectCard"
],
"keys": null,
"path": "src/components/ProjectCard.tsx",
"selectors": null
},
{
"functions": [
"Layout"
],
"keys": null,
"path": "src/components/Layout.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"ServiceCard"
],
"keys": null,
"path": "src/components/ServiceCard.tsx",
"selectors": null
},
{
"functions": [
"CookieBanner",
"acceptCookies",
"declineCookies"
],
"keys": null,
"path": "src/components/CookieBanner.tsx",
"selectors": null
},
{
"functions": [
"Navbar",
"toggleMenu"
],
"keys": null,
"path": "src/components/Navbar.tsx",
"selectors": null
},
{
"functions": [
"ThemeToggle",
"toggleTheme"
],
"keys": null,
"path": "src/components/ThemeToggle.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": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Withdrawal"
],
"keys": null,
"path": "src/pages/Withdrawal.tsx",
"selectors": null
},
{
"functions": [
"Contact"
],
"keys": null,
"path": "src/pages/Contact.tsx",
"selectors": null
},
{
"functions": [
"Terms"
],
"keys": null,
"path": "src/pages/Terms.tsx",
"selectors": null
},
{
"functions": [
"About"
],
"keys": null,
"path": "src/pages/About.tsx",
"selectors": null
},
{
"functions": [
"PrivacyPolicy"
],
"keys": null,
"path": "src/pages/PrivacyPolicy.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"Projects"
],
"keys": null,
"path": "src/pages/Projects.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
},
{
"functions": [
"Process"
],
"keys": null,
"path": "src/pages/Process.tsx",
"selectors": null
},
{
"functions": [
"Impressum"
],
"keys": null,
"path": "src/pages/Impressum.tsx",
"selectors": null
},
{
"functions": [
"Services"
],
"keys": null,
"path": "src/pages/Services.tsx",
"selectors": null
}
] | 18 |
[
{
"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 docker-compose.yml\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"setInitialTheme\"\n ],\n \"keys\": null,\n \"path\": \"src/main.tsx\",\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 \".dark\",\n \"root\",\n \"base\",\n \"body\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProjectCard.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 \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CookieBanner\",\n \"acceptCookies\",\n \"declineCookies\"\n ],\n \"keys\": null,\n \"path\": \"src/components/CookieBanner.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Navbar\",\n \"toggleMenu\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Navbar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ThemeToggle\",\n \"toggleTheme\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ThemeToggle.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 \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Withdrawal\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Withdrawal.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Contact\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Contact.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Terms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Terms.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"About\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/About.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PrivacyPolicy\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/PrivacyPolicy.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 \"Projects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Projects.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Process\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Process.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Impressum\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Impressum.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Services.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 \"docker-compose.yml\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
Nutaro-dev/prompt-magic-web
|
Update docker-compose.yml
|
{
"changed": [
"docker-compose.yml"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": [
"setInitialTheme"
],
"keys": null,
"path": "src/main.tsx",
"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": [
".dark",
"root",
"base",
"body"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"ProjectCard"
],
"keys": null,
"path": "src/components/ProjectCard.tsx",
"selectors": null
},
{
"functions": [
"Layout"
],
"keys": null,
"path": "src/components/Layout.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"ServiceCard"
],
"keys": null,
"path": "src/components/ServiceCard.tsx",
"selectors": null
},
{
"functions": [
"CookieBanner",
"acceptCookies",
"declineCookies"
],
"keys": null,
"path": "src/components/CookieBanner.tsx",
"selectors": null
},
{
"functions": [
"Navbar",
"toggleMenu"
],
"keys": null,
"path": "src/components/Navbar.tsx",
"selectors": null
},
{
"functions": [
"ThemeToggle",
"toggleTheme"
],
"keys": null,
"path": "src/components/ThemeToggle.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": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Withdrawal"
],
"keys": null,
"path": "src/pages/Withdrawal.tsx",
"selectors": null
},
{
"functions": [
"Contact"
],
"keys": null,
"path": "src/pages/Contact.tsx",
"selectors": null
},
{
"functions": [
"Terms"
],
"keys": null,
"path": "src/pages/Terms.tsx",
"selectors": null
},
{
"functions": [
"About"
],
"keys": null,
"path": "src/pages/About.tsx",
"selectors": null
},
{
"functions": [
"PrivacyPolicy"
],
"keys": null,
"path": "src/pages/PrivacyPolicy.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"Projects"
],
"keys": null,
"path": "src/pages/Projects.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
},
{
"functions": [
"Process"
],
"keys": null,
"path": "src/pages/Process.tsx",
"selectors": null
},
{
"functions": [
"Impressum"
],
"keys": null,
"path": "src/pages/Impressum.tsx",
"selectors": null
},
{
"functions": [
"Services"
],
"keys": null,
"path": "src/pages/Services.tsx",
"selectors": null
}
] | 19 |
[
{
"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 docker-compose.yml\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"setInitialTheme\"\n ],\n \"keys\": null,\n \"path\": \"src/main.tsx\",\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 \".dark\",\n \"root\",\n \"base\",\n \"body\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProjectCard.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 \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CookieBanner\",\n \"acceptCookies\",\n \"declineCookies\"\n ],\n \"keys\": null,\n \"path\": \"src/components/CookieBanner.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Navbar\",\n \"toggleMenu\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Navbar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ThemeToggle\",\n \"toggleTheme\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ThemeToggle.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 \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Withdrawal\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Withdrawal.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Contact\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Contact.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Terms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Terms.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"About\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/About.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PrivacyPolicy\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/PrivacyPolicy.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 \"Projects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Projects.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Process\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Process.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Impressum\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Impressum.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Services.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 \"docker-compose.yml\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
Nutaro-dev/prompt-magic-web
|
Update Contact.tsx
Changed from Office Location to City Location
|
{
"changed": [
"src/pages/Contact.tsx"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": [
"setInitialTheme"
],
"keys": null,
"path": "src/main.tsx",
"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": [
".dark",
"root",
"base",
"body"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"ProjectCard"
],
"keys": null,
"path": "src/components/ProjectCard.tsx",
"selectors": null
},
{
"functions": [
"Layout"
],
"keys": null,
"path": "src/components/Layout.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"ServiceCard"
],
"keys": null,
"path": "src/components/ServiceCard.tsx",
"selectors": null
},
{
"functions": [
"CookieBanner",
"acceptCookies",
"declineCookies"
],
"keys": null,
"path": "src/components/CookieBanner.tsx",
"selectors": null
},
{
"functions": [
"Navbar",
"toggleMenu"
],
"keys": null,
"path": "src/components/Navbar.tsx",
"selectors": null
},
{
"functions": [
"ThemeToggle",
"toggleTheme"
],
"keys": null,
"path": "src/components/ThemeToggle.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": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Withdrawal"
],
"keys": null,
"path": "src/pages/Withdrawal.tsx",
"selectors": null
},
{
"functions": [
"Contact"
],
"keys": null,
"path": "src/pages/Contact.tsx",
"selectors": null
},
{
"functions": [
"Terms"
],
"keys": null,
"path": "src/pages/Terms.tsx",
"selectors": null
},
{
"functions": [
"About"
],
"keys": null,
"path": "src/pages/About.tsx",
"selectors": null
},
{
"functions": [
"PrivacyPolicy"
],
"keys": null,
"path": "src/pages/PrivacyPolicy.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"Projects"
],
"keys": null,
"path": "src/pages/Projects.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
},
{
"functions": [
"Process"
],
"keys": null,
"path": "src/pages/Process.tsx",
"selectors": null
},
{
"functions": [
"Impressum"
],
"keys": null,
"path": "src/pages/Impressum.tsx",
"selectors": null
},
{
"functions": [
"Services"
],
"keys": null,
"path": "src/pages/Services.tsx",
"selectors": null
}
] | 20 |
[
{
"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 Contact.tsx\n\nChanged from Office Location to City Location\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"setInitialTheme\"\n ],\n \"keys\": null,\n \"path\": \"src/main.tsx\",\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 \".dark\",\n \"root\",\n \"base\",\n \"body\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ProjectCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProjectCard.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 \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ServiceCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ServiceCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CookieBanner\",\n \"acceptCookies\",\n \"declineCookies\"\n ],\n \"keys\": null,\n \"path\": \"src/components/CookieBanner.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Navbar\",\n \"toggleMenu\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Navbar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ThemeToggle\",\n \"toggleTheme\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ThemeToggle.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 \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Withdrawal\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Withdrawal.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Contact\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Contact.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Terms\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Terms.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"About\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/About.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PrivacyPolicy\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/PrivacyPolicy.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 \"Projects\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Projects.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Process\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Process.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Impressum\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Impressum.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Services\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Services.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/pages/Contact.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.