Skip to content

Commit

Permalink
fix: remove unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
AllieJonsson committed Jan 7, 2025
1 parent 8f1e335 commit e5f7de9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 26 deletions.
7 changes: 1 addition & 6 deletions packages/core/src/writers/single-mode.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
import fs from 'fs-extra';
import uniqBy from 'lodash.uniqby';
import { generateModelsInline, generateMutatorImports } from '../generators';
import {
GeneratorImport,
NormalizedOutputOptions,
WriteModeProps,
} from '../types';
import { WriteModeProps } from '../types';
import {
camel,
getFileInfo,
Expand Down
8 changes: 1 addition & 7 deletions packages/core/src/writers/split-mode.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
import fs from 'fs-extra';
import { generateModelsInline, generateMutatorImports } from '../generators';
import {
GeneratorImport,
NormalizedOutputOptions,
OutputClient,
WriteModeProps,
} from '../types';
import { OutputClient, WriteModeProps } from '../types';
import {
camel,
getFileInfo,
Expand All @@ -16,7 +11,6 @@ import {
import { generateTarget } from './target';
import { getOrvalGeneratedTypes } from './types';
import { getMockFileExtensionByTypeName } from '../utils/fileExtensions';
import uniqBy from 'lodash.uniqby';
import { generateImportsForBuilder } from './generate-imports-for-builder';

export const writeSplitMode = async ({
Expand Down
8 changes: 1 addition & 7 deletions packages/core/src/writers/split-tags-mode.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
import fs from 'fs-extra';
import { generateModelsInline, generateMutatorImports } from '../generators';
import {
GeneratorImport,
NormalizedOutputOptions,
OutputClient,
WriteModeProps,
} from '../types';
import { OutputClient, WriteModeProps } from '../types';
import {
camel,
getFileInfo,
Expand All @@ -16,7 +11,6 @@ import {
import { generateTargetForTags } from './target-tags';
import { getOrvalGeneratedTypes } from './types';
import { getMockFileExtensionByTypeName } from '../utils/fileExtensions';
import uniqBy from 'lodash.uniqby';
import { generateImportsForBuilder } from './generate-imports-for-builder';

export const writeSplitTagsMode = async ({
Expand Down
7 changes: 1 addition & 6 deletions packages/core/src/writers/tags-mode.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
import fs from 'fs-extra';
import uniqBy from 'lodash.uniqby';
import { generateModelsInline, generateMutatorImports } from '../generators';
import {
GeneratorImport,
NormalizedOutputOptions,
WriteModeProps,
} from '../types';
import { WriteModeProps } from '../types';
import {
camel,
getFileInfo,
Expand Down

0 comments on commit e5f7de9

Please sign in to comment.