Skip to content

Commit

Permalink
Couple for format fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
HeavenVolkoff committed Aug 17, 2024
1 parent d02c2ea commit b0886fa
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 15 deletions.
3 changes: 1 addition & 2 deletions apps/mobile/src/navigation/DrawerNavigator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ import DrawerContent from '~/components/drawer/DrawerContent';
import { tw } from '~/lib/tailwind';

import type { RootStackParamList } from '.';
import type { TabParamList } from './TabNavigator';
import TabNavigator from './TabNavigator';
import TabNavigator, { type TabParamList } from './TabNavigator';

const Drawer = createDrawerNavigator<DrawerNavParamList>();

Expand Down
3 changes: 1 addition & 2 deletions interface/app/$libraryId/Explorer/DragOverlay.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import type { ClientRect, Modifier } from '@dnd-kit/core';
import { DragOverlay as DragOverlayPrimitive } from '@dnd-kit/core';
import { DragOverlay as DragOverlayPrimitive, type ClientRect, type Modifier } from '@dnd-kit/core';
import { getEventCoordinates } from '@dnd-kit/utilities';
import clsx from 'clsx';
import { memo, useEffect, useRef } from 'react';
Expand Down
20 changes: 11 additions & 9 deletions interface/app/$libraryId/Explorer/useExplorer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,18 @@ import { useCallback, useEffect, useMemo, useRef, useState, type RefObject } fro
import { useDebouncedCallback } from 'use-debounce';
import { proxy, snapshot, subscribe, useSnapshot } from 'valtio';
import { z } from 'zod';
import type {
ExplorerItem,
ExplorerLayout,
ExplorerSettings,
FilePath,
Location,
NodeState,
Tag
import {
ObjectKindEnum,
type ExplorerItem,
type ExplorerLayout,
type ExplorerSettings,
type FilePath,
type Location,
type NodeState,
type Ordering,
type OrderingKeys,
type Tag
} from '@sd/client';
import { ObjectKindEnum, type Ordering, type OrderingKeys } from '@sd/client';

import { createDefaultExplorerSettings } from './store';
import { uniqueId } from './util';
Expand Down
8 changes: 6 additions & 2 deletions packages/client/src/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,12 @@ import { QueryClient } from '@tanstack/react-query';
import { useMemo } from 'react';

import type { Object } from '..';
import type { ExplorerItem, FilePath, NonIndexedPathItem } from '../core';
import { LibraryConfigWrapped } from '../core';
import {
LibraryConfigWrapped,
type ExplorerItem,
type FilePath,
type NonIndexedPathItem
} from '../core';

export * from './jobs';

Expand Down

0 comments on commit b0886fa

Please sign in to comment.