mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-24 07:53:09 +00:00
style(client): imports ordered the way the shared Prettier config sorts them
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import type { AssistantMessage, AtlasBucketCard as BucketCard, AtlasBucketEntry } from '@trek/shared';
|
||||
import type { AssistantMessage, AtlasBucketEntry, AtlasBucketCard as BucketCard } from '@trek/shared';
|
||||
import { CalendarDays, Check, NotebookPen, Star, Tag, TriangleAlert } from 'lucide-react';
|
||||
|
||||
import { useTranslation } from '../../../../i18n';
|
||||
|
||||
@@ -12,8 +12,8 @@ import { describe, expect, it } from 'vitest';
|
||||
|
||||
import { CARD_RULES, ENTITY_LOOK, STEP_LOOKS, TOOL_LABELS, VERB_LOOK } from '../cardLooks';
|
||||
import { coverEntryOf, journalTarget, mergeJournalCards } from './journeyCardModel';
|
||||
import { flagOf, moodOf, stateOf, weatherOf } from './journeyTones';
|
||||
import { JOURNEY_LOOK } from './journeyLook';
|
||||
import { flagOf, moodOf, stateOf, weatherOf } from './journeyTones';
|
||||
|
||||
function look(over: Partial<JourneyEntryLook> = {}): JourneyEntryLook {
|
||||
return {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { PackingCardGroup, PackingListCard as PackingCard } from '@trek/shared';
|
||||
import type { PackingListCard as PackingCard, PackingCardGroup } from '@trek/shared';
|
||||
import { Check } from 'lucide-react';
|
||||
|
||||
import { useTranslation } from '../../../../i18n';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { TodoCardGroup, TodoCardItem, TodoListCard as TodoCard } from '@trek/shared';
|
||||
import type { TodoListCard as TodoCard, TodoCardGroup, TodoCardItem } from '@trek/shared';
|
||||
import { CalendarDays, Flag, ListTodo, PencilLine, StickyNote, Tag, User } from 'lucide-react';
|
||||
|
||||
import { useTranslation } from '../../../../i18n';
|
||||
|
||||
@@ -10,7 +10,7 @@ import { Check, Circle, CircleDashed, type LucideIcon, PencilLine, Plus, Trash2,
|
||||
|
||||
import { KAT_COLORS as PACKING_COLORS } from '../../../Packing/packingListPanel.constants';
|
||||
import { katColor as packingHashColor } from '../../../Packing/packingListPanel.helpers';
|
||||
import { katColor as todoHashColor, KAT_COLORS as TODO_COLORS } from '../../../Todo/todoListModel';
|
||||
import { KAT_COLORS as TODO_COLORS, katColor as todoHashColor } from '../../../Todo/todoListModel';
|
||||
import type { Tone } from '../parts/assistantTones';
|
||||
|
||||
/**
|
||||
|
||||
@@ -12,7 +12,7 @@ import { tourDayRowIcon } from '../../../Tours/tourDayRowIcon';
|
||||
import { CardFacts } from '../parts/CardFacts';
|
||||
import RouteSketch from '../parts/RouteSketch';
|
||||
import { useCardFormat } from '../parts/useCardFormat';
|
||||
import { type FactKey, factKeysOf, factValue, percentText } from './tourRouteModel';
|
||||
import { factKeysOf, factValue, percentText, type FactKey } from './tourRouteModel';
|
||||
import { sketchOf } from './tourRouteSketchModel';
|
||||
import { routeName, SAC_WORDS, timeLabelKey, TOUR_TYPE_WORDS } from './tourRouteWords';
|
||||
|
||||
|
||||
@@ -4,8 +4,8 @@ import { createElement } from 'react';
|
||||
|
||||
import { useTranslation } from '../../../../i18n';
|
||||
import {
|
||||
type DistanceIndexedProfileSample,
|
||||
focusRouteProfileAtDistance,
|
||||
type DistanceIndexedProfileSample,
|
||||
type RouteProfileFocus,
|
||||
} from '../../../../utils/routeGeometry';
|
||||
import { TOUR_POI_LOOKS } from '../../../Map/poiCategories';
|
||||
|
||||
@@ -8,8 +8,8 @@ import { Tooltip } from '../../shared/Tooltip';
|
||||
import { bikePaintCss } from '../bike/bikePaint';
|
||||
import { FigureBadge } from '../paddle/FigureBadge';
|
||||
import { CardAction } from '../tourParts';
|
||||
import { HIKE_FACETS, type HikeFacet } from './hikeFacetSpecs';
|
||||
import { facetPaint, isUnknownClass, type FacetRow } from './hikeFacets';
|
||||
import { HIKE_FACETS, type HikeFacet } from './hikeFacetSpecs';
|
||||
import { hikePaintCss } from './hikePaint';
|
||||
import { sacStepOfClass } from './sacGrades';
|
||||
import { GradeChip } from './SacStepChip';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { describe, it, expect, beforeEach } from 'vitest';
|
||||
import type { BookDocument, BookElement, BookSpread } from '@trek/shared';
|
||||
import { beforeEach, describe, expect, it } from 'vitest';
|
||||
import { useStudioStore } from '../../../src/store/studioStore';
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user