@@ -1,7 +1,3 @@
|
||||
import {
|
||||
SortableCellHead,
|
||||
SortableDataTable,
|
||||
} from "/components/table/SortableDataTable.tsx";
|
||||
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";
|
||||
@@ -16,13 +12,17 @@ import {
|
||||
Spinner,
|
||||
} from "@probo/ui";
|
||||
import { z } from "zod";
|
||||
import { useMutateField } from "/hooks/useMutateField.tsx";
|
||||
import { type ReactNode } from "react";
|
||||
import { useToggle } from "@probo/hooks";
|
||||
import { clsx } from "clsx";
|
||||
|
||||
import { useStateWithSchema } from "/hooks/useStateWithSchema.ts";
|
||||
import clsx from "clsx";
|
||||
import { useMutateField } from "/hooks/useMutateField.tsx";
|
||||
import {
|
||||
SortableCellHead,
|
||||
SortableDataTable, defaultPageSize,
|
||||
} from "/components/table/SortableDataTable.tsx";
|
||||
import { useMutationWithToasts } from "/hooks/useMutationWithToasts.ts";
|
||||
import { defaultPageSize } from "/components/table/SortableDataTable.tsx";
|
||||
|
||||
type ColumnDefinition = { label: string; field: string } | string;
|
||||
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
import { Avatar } from "@probo/ui";
|
||||
|
||||
import { GraphQLCell } from "/components/table/GraphQLCell.tsx";
|
||||
import type { PeopleGraphQuery } from "/__generated__/core/PeopleGraphQuery.graphql.ts";
|
||||
import { peopleQuery } from "/hooks/graph/PeopleGraph.ts";
|
||||
import { Avatar } from "@probo/ui";
|
||||
|
||||
type Props = {
|
||||
name: string;
|
||||
|
||||
@@ -7,7 +7,7 @@ import {
|
||||
IconChevronTriangleDownSmall,
|
||||
Spinner,
|
||||
} from "@probo/ui";
|
||||
import clsx from "clsx";
|
||||
import { clsx } from "clsx";
|
||||
import {
|
||||
type ComponentProps,
|
||||
createContext,
|
||||
|
||||
@@ -1,13 +1,15 @@
|
||||
import { GraphQLCell } from "/components/table/GraphQLCell.tsx";
|
||||
import { vendorsSelectQuery } from "/hooks/graph/VendorGraph";
|
||||
import { Avatar, Badge, IconCrossLargeX } from "@probo/ui";
|
||||
import { faviconUrl } from "@probo/helpers";
|
||||
|
||||
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;
|
||||
name: string;
|
||||
websiteUrl: string | null | undefined;
|
||||
};
|
||||
import type { VendorGraphSelectQuery } from "/__generated__/core/VendorGraphSelectQuery.graphql.ts";
|
||||
|
||||
type Props = {
|
||||
name: string;
|
||||
|
||||
Reference in New Issue
Block a user