Remove extensions from import paths
Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
@@ -24,7 +24,7 @@ import { graphql } from "relay-runtime";
|
||||
import type { LinkedDocumentsCardFragment$key } from "#/__generated__/core/LinkedDocumentsCardFragment.graphql";
|
||||
import { useOrganizationId } from "#/hooks/useOrganizationId";
|
||||
|
||||
import { LinkedDocumentDialog } from "./LinkedDocumentsDialog.tsx";
|
||||
import { LinkedDocumentDialog } from "./LinkedDocumentsDialog";
|
||||
|
||||
const linkedDocumentFragment = graphql`
|
||||
fragment LinkedDocumentsCardFragment on Document {
|
||||
|
||||
@@ -6,7 +6,7 @@ import {
|
||||
IconPlusLarge,
|
||||
Spinner,
|
||||
} from "@probo/ui";
|
||||
import { IconMinusLarge } from "@probo/ui/src/Atoms/Icons/IconMinusLarge.tsx";
|
||||
import { IconMinusLarge } from "@probo/ui/src/Atoms/Icons/IconMinusLarge";
|
||||
import { type ComponentProps, useRef, useState } from "react";
|
||||
import { Document, Page, pdfjs } from "react-pdf";
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ import { Avatar, Badge, Button, Field, IconCrossLargeX, Option, Select } from "@
|
||||
import { type ComponentProps, Suspense, useState } from "react";
|
||||
import { type Control, Controller, type FieldValues, type Path } from "react-hook-form";
|
||||
|
||||
import { usePeople } from "#/hooks/graph/PeopleGraph.ts";
|
||||
import { usePeople } from "#/hooks/graph/PeopleGraph";
|
||||
|
||||
type Person = {
|
||||
id: string;
|
||||
|
||||
@@ -3,7 +3,7 @@ import { Avatar, Field, Option, Select } from "@probo/ui";
|
||||
import { type ComponentProps, Suspense } from "react";
|
||||
import { type Control, Controller, type FieldPath, type FieldValues } from "react-hook-form";
|
||||
|
||||
import { usePeople } from "#/hooks/graph/PeopleGraph.ts";
|
||||
import { usePeople } from "#/hooks/graph/PeopleGraph";
|
||||
|
||||
type Props<
|
||||
TFieldValues extends FieldValues = FieldValues,
|
||||
|
||||
@@ -4,7 +4,7 @@ import { Avatar, Badge, Button, Field, IconCrossLargeX, Option, Select } from "@
|
||||
import { type ComponentProps, Suspense, useState } from "react";
|
||||
import { type Control, Controller, type FieldValues, type Path } from "react-hook-form";
|
||||
|
||||
import { useVendors } from "#/hooks/graph/VendorGraph.ts";
|
||||
import { useVendors } from "#/hooks/graph/VendorGraph";
|
||||
|
||||
type Vendor = {
|
||||
id: string;
|
||||
|
||||
@@ -23,7 +23,7 @@ import { graphql } from "relay-runtime";
|
||||
import type { LinkedMeasuresCardFragment$key } from "#/__generated__/core/LinkedMeasuresCardFragment.graphql";
|
||||
import { useOrganizationId } from "#/hooks/useOrganizationId";
|
||||
|
||||
import { LinkedMeasureDialog } from "./LinkedMeasuresDialog.tsx";
|
||||
import { LinkedMeasureDialog } from "./LinkedMeasuresDialog";
|
||||
|
||||
const linkedMeasureFragment = graphql`
|
||||
fragment LinkedMeasuresCardFragment on Measure {
|
||||
|
||||
@@ -17,7 +17,7 @@ import { graphql } from "relay-runtime";
|
||||
import type { LinkedRisksCardFragment$key } from "#/__generated__/core/LinkedRisksCardFragment.graphql";
|
||||
import { useOrganizationId } from "#/hooks/useOrganizationId";
|
||||
|
||||
import { LinkedRisksDialog } from "./LinkedRisksDialog.tsx";
|
||||
import { LinkedRisksDialog } from "./LinkedRisksDialog";
|
||||
|
||||
const linkedRiskFragment = graphql`
|
||||
fragment LinkedRisksCardFragment on Risk {
|
||||
|
||||
@@ -19,10 +19,10 @@ import { z } from "zod";
|
||||
import { defaultPageSize,
|
||||
SortableCellHead,
|
||||
SortableDataTable,
|
||||
} from "#/components/table/SortableDataTable.tsx";
|
||||
import { useMutateField } from "#/hooks/useMutateField.tsx";
|
||||
import { useMutationWithToasts } from "#/hooks/useMutationWithToasts.ts";
|
||||
import { useStateWithSchema } from "#/hooks/useStateWithSchema.ts";
|
||||
} from "#/components/table/SortableDataTable";
|
||||
import { useMutateField } from "#/hooks/useMutateField";
|
||||
import { useMutationWithToasts } from "#/hooks/useMutationWithToasts";
|
||||
import { useStateWithSchema } from "#/hooks/useStateWithSchema";
|
||||
|
||||
type ColumnDefinition = { label: string; field: string } | string;
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
import { useStateWithRef } from "@probo/hooks";
|
||||
import { useTranslate } from "@probo/i18n";
|
||||
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 { useEditableCellRef } from "@probo/ui/src/Molecules/Table/EditableCell";
|
||||
import { useEditableRowContext } from "@probo/ui/src/Molecules/Table/EditableRow";
|
||||
import { getKey } from "@probo/ui/src/Molecules/Table/utils";
|
||||
import { Command } from "cmdk";
|
||||
import { type ReactNode, Suspense } from "react";
|
||||
import { useLazyLoadQuery } from "react-relay";
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import { Avatar } from "@probo/ui";
|
||||
|
||||
import type { PeopleGraphQuery } from "#/__generated__/core/PeopleGraphQuery.graphql.ts";
|
||||
import { GraphQLCell } from "#/components/table/GraphQLCell.tsx";
|
||||
import { peopleQuery } from "#/hooks/graph/PeopleGraph.ts";
|
||||
import type { PeopleGraphQuery } from "#/__generated__/core/PeopleGraphQuery.graphql";
|
||||
import { GraphQLCell } from "#/components/table/GraphQLCell";
|
||||
import { peopleQuery } from "#/hooks/graph/PeopleGraph";
|
||||
|
||||
type Props = {
|
||||
name: string;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { faviconUrl } from "@probo/helpers";
|
||||
import { Avatar, Badge, IconCrossLargeX } from "@probo/ui";
|
||||
|
||||
import type { VendorGraphSelectQuery } from "#/__generated__/core/VendorGraphSelectQuery.graphql.ts";
|
||||
import type { VendorGraphSelectQuery } from "#/__generated__/core/VendorGraphSelectQuery.graphql";
|
||||
import { GraphQLCell } from "#/components/table/GraphQLCell";
|
||||
import { vendorsSelectQuery } from "#/hooks/graph/VendorGraph";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user