Add import order sorting rules
Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
import type { GraphQLTaggedNode, OperationType } from "relay-runtime";
|
||||
import type { KeyType, KeyTypeData } from "react-relay/relay-hooks/helpers";
|
||||
import type { usePaginationFragmentHookType } from "react-relay/relay-hooks/usePaginationFragment";
|
||||
import { useToggle } from "@probo/hooks";
|
||||
import {
|
||||
Button,
|
||||
Cell,
|
||||
@@ -11,18 +9,20 @@ import {
|
||||
RowButton,
|
||||
Spinner,
|
||||
} from "@probo/ui";
|
||||
import { z } from "zod";
|
||||
import { type ReactNode } from "react";
|
||||
import { useToggle } from "@probo/hooks";
|
||||
import { clsx } from "clsx";
|
||||
import { type ReactNode } from "react";
|
||||
import type { KeyType, KeyTypeData } from "react-relay/relay-hooks/helpers";
|
||||
import type { usePaginationFragmentHookType } from "react-relay/relay-hooks/usePaginationFragment";
|
||||
import type { GraphQLTaggedNode, OperationType } from "relay-runtime";
|
||||
import { z } from "zod";
|
||||
|
||||
import { useStateWithSchema } from "/hooks/useStateWithSchema.ts";
|
||||
import { useMutateField } from "/hooks/useMutateField.tsx";
|
||||
import {
|
||||
import { defaultPageSize,
|
||||
SortableCellHead,
|
||||
SortableDataTable, defaultPageSize,
|
||||
SortableDataTable,
|
||||
} from "/components/table/SortableDataTable.tsx";
|
||||
import { useMutateField } from "/hooks/useMutateField.tsx";
|
||||
import { useMutationWithToasts } from "/hooks/useMutationWithToasts.ts";
|
||||
import { useStateWithSchema } from "/hooks/useStateWithSchema.ts";
|
||||
|
||||
type ColumnDefinition = { label: string; field: string } | string;
|
||||
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
import { useStateWithRef } from "@probo/hooks";
|
||||
import { useTranslate } from "@probo/i18n";
|
||||
import { EditableCell, SelectValue, Spinner, selectCell } from "@probo/ui";
|
||||
import { EditableCell, selectCell, SelectValue, Spinner } from "@probo/ui";
|
||||
import { useEditableCellRef } from "@probo/ui/src/Molecules/Table/EditableCell.tsx";
|
||||
import { useEditableRowContext } from "@probo/ui/src/Molecules/Table/EditableRow.tsx";
|
||||
import { getKey } from "@probo/ui/src/Molecules/Table/utils.ts";
|
||||
import { Command } from "cmdk";
|
||||
import { Suspense, type ReactNode } from "react";
|
||||
import { type ReactNode, Suspense } from "react";
|
||||
import { useLazyLoadQuery } from "react-relay";
|
||||
import type {
|
||||
GraphQLTaggedNode,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { Avatar } from "@probo/ui";
|
||||
|
||||
import { GraphQLCell } from "/components/table/GraphQLCell.tsx";
|
||||
import type { PeopleGraphQuery } from "/__generated__/core/PeopleGraphQuery.graphql.ts";
|
||||
import { GraphQLCell } from "/components/table/GraphQLCell.tsx";
|
||||
import { peopleQuery } from "/hooks/graph/PeopleGraph.ts";
|
||||
|
||||
type Props = {
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
import { Avatar, Badge, IconCrossLargeX } from "@probo/ui";
|
||||
import { faviconUrl } from "@probo/helpers";
|
||||
import { Avatar, Badge, IconCrossLargeX } from "@probo/ui";
|
||||
|
||||
import type { VendorGraphSelectQuery } from "/__generated__/core/VendorGraphSelectQuery.graphql.ts";
|
||||
import { GraphQLCell } from "/components/table/GraphQLCell";
|
||||
import { vendorsSelectQuery } from "/hooks/graph/VendorGraph";
|
||||
import type { VendorGraphSelectQuery } from "/__generated__/core/VendorGraphSelectQuery.graphql.ts";
|
||||
|
||||
type Vendor = {
|
||||
id: string;
|
||||
|
||||
Reference in New Issue
Block a user