feat: services table with dnd

This commit is contained in:
2025-10-03 09:07:02 +04:00
parent f3a0179467
commit 1a2895da59
29 changed files with 450 additions and 272 deletions

View File

@ -11,7 +11,8 @@ import {
updateServiceCategoryMutation,
} from "@/lib/client/@tanstack/react-query.gen";
import { ServiceType } from "@/modules/dealModularEditorTabs/FulfillmentBase/shared/types/service";
import { getMaxLexorankByKey, getNewLexorank } from "@/utils/lexorank";
import { getMaxLexorankByKey } from "@/utils/lexorank/max";
import { getNewLexorank } from "@/utils/lexorank/generation";
type UseServiceCategoryProps = {
queryKey: any[];

View File

@ -10,7 +10,8 @@ import {
deleteServiceMutation,
updateServiceMutation,
} from "@/lib/client/@tanstack/react-query.gen";
import { getMaxByLexorank, getNewLexorank } from "@/utils/lexorank";
import { getMaxByLexorank } from "@/utils/lexorank/max";
import { getNewLexorank } from "@/utils/lexorank/generation";
type UseServicesProps = {
queryKey: any[];