Skip to content

Commit 874c39c

Browse files
committed
chore: update remaining imports
1 parent ed9d52e commit 874c39c

File tree

7 files changed

+31
-31
lines changed

7 files changed

+31
-31
lines changed

src/handlers/typebox/function-type-handler.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { BaseTypeHandler } from 'src/handlers/typebox/base-type-handler'
2-
import { makeTypeCall } from 'src/utils/typebox-codegen-utils'
1+
import { BaseTypeHandler } from '@daxserver/validation-schema-codegen/handlers/typebox/base-type-handler'
2+
import { makeTypeCall } from '@daxserver/validation-schema-codegen/utils/typebox-codegen-utils'
33
import { Node, ts } from 'ts-morph'
44

55
export class FunctionTypeHandler extends BaseTypeHandler {

src/handlers/typebox/indexed-access-type-handler.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { BaseTypeHandler } from 'src/handlers/typebox/base-type-handler'
2-
import { makeTypeCall } from 'src/utils/typebox-codegen-utils'
1+
import { BaseTypeHandler } from '@daxserver/validation-schema-codegen/handlers/typebox/base-type-handler'
2+
import { makeTypeCall } from '@daxserver/validation-schema-codegen/utils/typebox-codegen-utils'
33
import { IndexedAccessTypeNode, Node, ts } from 'ts-morph'
44

55
export class IndexedAccessTypeHandler extends BaseTypeHandler {

src/handlers/typebox/record-type-handler.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { BaseTypeHandler } from 'src/handlers/typebox/base-type-handler'
2-
import { makeTypeCall } from 'src/utils/typebox-codegen-utils'
1+
import { BaseTypeHandler } from '@daxserver/validation-schema-codegen/handlers/typebox/base-type-handler'
2+
import { makeTypeCall } from '@daxserver/validation-schema-codegen/utils/typebox-codegen-utils'
33
import { Node, ts } from 'ts-morph'
44

55
export class RecordTypeHandler extends BaseTypeHandler {

src/handlers/typebox/typebox-type-handlers.ts

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
1-
import { ArrayTypeHandler } from 'src/handlers/typebox/array-type-handler'
2-
import { BaseTypeHandler } from 'src/handlers/typebox/base-type-handler'
3-
import { FunctionTypeHandler } from 'src/handlers/typebox/function-type-handler'
4-
import { IndexedAccessTypeHandler } from 'src/handlers/typebox/indexed-access-type-handler'
5-
import { InterfaceTypeHandler } from 'src/handlers/typebox/interface-type-handler'
6-
import { IntersectionTypeHandler } from 'src/handlers/typebox/intersection-type-handler'
7-
import { LiteralTypeHandler } from 'src/handlers/typebox/literal-type-handler'
8-
import { ObjectTypeHandler } from 'src/handlers/typebox/object-type-handler'
9-
import { OmitTypeHandler } from 'src/handlers/typebox/omit-type-handler'
10-
import { PartialTypeHandler } from 'src/handlers/typebox/partial-type-handler'
11-
import { PickTypeHandler } from 'src/handlers/typebox/pick-type-handler'
12-
import { RecordTypeHandler } from 'src/handlers/typebox/record-type-handler'
13-
import { RequiredTypeHandler } from 'src/handlers/typebox/required-type-handler'
14-
import { SimpleTypeHandler } from 'src/handlers/typebox/simple-type-handler'
15-
import { TemplateLiteralTypeHandler } from 'src/handlers/typebox/template-literal-type-handler'
16-
import { TupleTypeHandler } from 'src/handlers/typebox/tuple-type-handler'
17-
import { TypeOperatorHandler } from 'src/handlers/typebox/type-operator-handler'
18-
import { TypeQueryHandler } from 'src/handlers/typebox/type-query-handler'
19-
import { TypeReferenceHandler } from 'src/handlers/typebox/type-reference-handler'
20-
import { UnionTypeHandler } from 'src/handlers/typebox/union-type-handler'
1+
import { ArrayTypeHandler } from '@daxserver/validation-schema-codegen/handlers/typebox/array-type-handler'
2+
import { BaseTypeHandler } from '@daxserver/validation-schema-codegen/handlers/typebox/base-type-handler'
3+
import { FunctionTypeHandler } from '@daxserver/validation-schema-codegen/handlers/typebox/function-type-handler'
4+
import { IndexedAccessTypeHandler } from '@daxserver/validation-schema-codegen/handlers/typebox/indexed-access-type-handler'
5+
import { InterfaceTypeHandler } from '@daxserver/validation-schema-codegen/handlers/typebox/interface-type-handler'
6+
import { IntersectionTypeHandler } from '@daxserver/validation-schema-codegen/handlers/typebox/intersection-type-handler'
7+
import { LiteralTypeHandler } from '@daxserver/validation-schema-codegen/handlers/typebox/literal-type-handler'
8+
import { ObjectTypeHandler } from '@daxserver/validation-schema-codegen/handlers/typebox/object-type-handler'
9+
import { OmitTypeHandler } from '@daxserver/validation-schema-codegen/handlers/typebox/omit-type-handler'
10+
import { PartialTypeHandler } from '@daxserver/validation-schema-codegen/handlers/typebox/partial-type-handler'
11+
import { PickTypeHandler } from '@daxserver/validation-schema-codegen/handlers/typebox/pick-type-handler'
12+
import { RecordTypeHandler } from '@daxserver/validation-schema-codegen/handlers/typebox/record-type-handler'
13+
import { RequiredTypeHandler } from '@daxserver/validation-schema-codegen/handlers/typebox/required-type-handler'
14+
import { SimpleTypeHandler } from '@daxserver/validation-schema-codegen/handlers/typebox/simple-type-handler'
15+
import { TemplateLiteralTypeHandler } from '@daxserver/validation-schema-codegen/handlers/typebox/template-literal-type-handler'
16+
import { TupleTypeHandler } from '@daxserver/validation-schema-codegen/handlers/typebox/tuple-type-handler'
17+
import { TypeOperatorHandler } from '@daxserver/validation-schema-codegen/handlers/typebox/type-operator-handler'
18+
import { TypeQueryHandler } from '@daxserver/validation-schema-codegen/handlers/typebox/type-query-handler'
19+
import { TypeReferenceHandler } from '@daxserver/validation-schema-codegen/handlers/typebox/type-reference-handler'
20+
import { UnionTypeHandler } from '@daxserver/validation-schema-codegen/handlers/typebox/union-type-handler'
2121
import { Node, SyntaxKind, ts } from 'ts-morph'
2222

2323
export class TypeBoxTypeHandlers {

src/parsers/parse-interfaces.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { BaseParser } from 'src/parsers/base-parser'
2-
import { addStaticTypeAlias } from 'src/utils/add-static-type-alias'
3-
import { getTypeBoxType } from 'src/utils/typebox-call'
1+
import { BaseParser } from '@daxserver/validation-schema-codegen/parsers/base-parser'
2+
import { addStaticTypeAlias } from '@daxserver/validation-schema-codegen/utils/add-static-type-alias'
3+
import { getTypeBoxType } from '@daxserver/validation-schema-codegen/utils/typebox-call'
44
import { InterfaceDeclaration, ts, VariableDeclarationKind } from 'ts-morph'
55

66
export class InterfaceParser extends BaseParser {

tests/integration/wikibase/wikibase.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { generateCode } from 'src/ts-morph-codegen'
1+
import { generateCode } from '@daxserver/validation-schema-codegen/ts-morph-codegen'
22
import { Project } from 'ts-morph'
33

44
// Read the Wikibase SDK entity type definitions

tests/ts-morph/dependency-collector.performance.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
import { DependencyCollector } from '@daxserver/validation-schema-codegen/utils/dependency-collector'
12
import { createSourceFile } from '@test-fixtures/ts-morph/utils'
23
import { beforeEach, describe, expect, test } from 'bun:test'
3-
import { DependencyCollector } from 'src/utils/dependency-collector'
44
import { Project } from 'ts-morph'
55

66
describe('DependencyCollector Performance Tests', () => {

0 commit comments

Comments
 (0)